|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
For the framework. Insures methods a MemoryCache needs to access. Not sure why we use this. Should use teh IMemeoryCache interface. I'll change it later.
Method Summary | |
ICacheElement |
get(java.io.Serializable key)
Get an item from the cache |
ICompositeCacheAttributes |
getCacheAttributes()
Returns the CacheAttributes for the region. |
CompositeCache |
getCompositeCache()
Gets the cache hub / region taht the MemoryCache is used by |
java.util.Set |
getGroupKeys(java.lang.String group)
Gets the set of keys of objects currently in the group |
java.util.Iterator |
getIterator()
Deprecated. |
java.lang.Object[] |
getKeyArray()
Get an Array of the keys for all elements in the memory cache. |
ICacheElement |
getQuiet(java.io.Serializable key)
Get an item from the cache without effecting its order or last access time |
int |
getSize()
Get the number of elements contained in the memory store |
void |
initialize(CompositeCache cache)
Initialize the memory cache |
boolean |
remove(java.io.Serializable key)
Removes an item from the cache |
void |
removeAll()
Removes all cached items from the cache. |
void |
setCacheAttributes(ICompositeCacheAttributes cattr)
Sets the CacheAttributes of the region. |
void |
update(ICacheElement ce)
Puts an item to the cache. |
void |
waterfal(ICacheElement ce)
Spools the item contained in the provided element to disk |
Method Detail |
public void initialize(CompositeCache cache)
cache
- The cache (region) this memory store is attached to.public int getSize()
public java.util.Iterator getIterator()
public java.lang.Object[] getKeyArray()
public boolean remove(java.io.Serializable key) throws java.io.IOException
key
- Identifies item to be removed
java.io.IOException
- Description of the Exceptionpublic void removeAll() throws java.io.IOException
java.io.IOException
- Description of the Exceptionpublic ICacheElement get(java.io.Serializable key) throws java.io.IOException
key
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic ICacheElement getQuiet(java.io.Serializable key) throws java.io.IOException
key
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void waterfal(ICacheElement ce) throws java.io.IOException
ce
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic void update(ICacheElement ce) throws java.io.IOException
ce
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic ICompositeCacheAttributes getCacheAttributes()
public void setCacheAttributes(ICompositeCacheAttributes cattr)
cattr
- The new cacheAttributes valuepublic CompositeCache getCompositeCache()
public java.util.Set getGroupKeys(java.lang.String group)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |