|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Space
The Space where the objects will be stored in memory. The Space is typically a data structure like a Map used to store the Objects used by your application. During a snapshot, the whole Space object is serialized to disk.
| Method Summary | ||
|---|---|---|
boolean |
check(java.lang.Object key)
Checks whehter an object exists with the following key. |
|
|
get(java.lang.Object key)
Gets the Object stored in this Space with this key. |
|
IndexManager |
getIndexManager()
Returns the IndexManager in this space. |
|
|
getIterator(java.lang.Object key)
Returns an iterator of the underlying collection or map object. |
|
|
getKeyIterator(java.lang.Object key)
Returns an iterator of the keys of the underlying map object. |
|
void |
put(java.lang.Object key,
java.lang.Object obj)
Puts an Object in this Space with this key. |
|
boolean |
remove(java.lang.Object key)
Removes an Object from this Space with this key. |
|
| Method Detail |
|---|
<T> T get(java.lang.Object key)
key - The key to retrieve the Object from the Space.
void put(java.lang.Object key,
java.lang.Object obj)
key - The key to store the Objectobj - The object to storeboolean remove(java.lang.Object key)
key -
<T> java.util.Iterator<T> getIterator(java.lang.Object key)
key - The key to retrieve the Object from the Space.
boolean check(java.lang.Object key)
key - The key to check
<T> java.util.Iterator<T> getKeyIterator(java.lang.Object key)
key - The key to retrieve the Object from the Space.
IndexManager getIndexManager()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||