Inheritance diagram for IBitBucket:
Public Member Functions | |
int | getBufferSize () |
long | length () |
void[] | get (char[] key) |
void | remove (char[] key) |
void | put (char[] key, void[] data) |
Note that any and all stored data is rendered invalid the moment an IBucket object is garbage-collected.
All index keys must be unique. Writing to an IBitBucket with an existing key will overwrite any previous content.
Definition at line 52 of file IBitBucket.d.
|
Return the record-size in use for this IBitBucket Reimplemented in FileBucket. Referenced by VirtualCache::this(). |
|
Return the currently populated size of this IBitBucket Reimplemented in FileBucket. |
|
Return the serialized data for the provided key. Returns null if the key was not found. Reimplemented in FileBucket. Referenced by VirtualCache::get(). |
|
Remove the provided key from this IBitBucket. Reimplemented in FileBucket. Referenced by VirtualCache::extract(). |
|
Write a serialized block of data, and associate it with the provided key. All keys must be unique, and it is the responsibility of the programmer to ensure this. Reusing an existing key will overwrite previous data. Reimplemented in FileBucket. Referenced by VirtualCache::put(). |