|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the class of objects that this address points topublic interface Address<T>
Interface of a generic storage address.
An address can be retrieved by storing an object into a Storage
via
the Storage.store(T)
method.
Storage
Method Summary | |
---|---|
T |
read()
Reads the object stored at this address from the associated storage. |
void |
remove()
Removes the object stored at this address from the associated storage. |
Method Detail |
---|
T read() throws BucketStorageException
BucketStorageException
- if there was an error reading the datavoid remove() throws BucketStorageException, java.lang.UnsupportedOperationException
BucketStorageException
- if there was an error deleting an object
java.lang.UnsupportedOperationException
- if this storage does not support removal of objects
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |