add_object


Description:

public bool add_object (string key, string value)

Adds a new key / value entry to this.

If an object corresponding to key already exists in this, the function returns false.

Parameters:

this

an FileCache

key

the hash key of the object to add

value

the object to add

Returns:

true if successful, false if key already exists