|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Description of the Interface
Method Summary | |
void |
destroy()
Deprecated. |
void |
destroy(java.lang.Object name)
Deprecated. |
java.lang.Object |
get(java.lang.Object name)
Basic get method. |
ICompositeCacheAttributes |
getCacheAttributes()
Gets the ICompositeCacheAttributes of the cache region |
IElementAttributes |
getElementAttributes()
GetElementAttributes will return an attribute object describing the current attributes associated with the object name. |
IElementAttributes |
getElementAttributes(java.lang.Object name)
Gets the elementAttributes attribute of the ICacheAccess object |
void |
put(java.lang.Object name,
java.lang.Object obj)
Puts and/or overides an element with the name in that region. |
void |
put(java.lang.Object name,
java.lang.Object obj,
IElementAttributes attr)
Description of the Method |
void |
putSafe(java.lang.Object name,
java.lang.Object obj)
Puts in cache if an item does not exist with the name in that region. |
void |
remove()
Old remove all method. |
void |
remove(java.lang.Object name)
Remove an object for this key if one exists, else do nothing. |
void |
resetElementAttributes(IElementAttributes attr)
ResetAttributes allows for some of the attributes of a region to be reset in particular expiration time attriubtes, time to live, default time to live and idle time, and event handlers. |
void |
resetElementAttributes(java.lang.Object name,
IElementAttributes attr)
Reset the attributes on the object matching this key name. |
void |
setCacheAttributes(ICompositeCacheAttributes cattr)
Sets the ICompositeCacheAttributes of the cache region |
Method Detail |
public java.lang.Object get(java.lang.Object name)
name
-
public void putSafe(java.lang.Object name, java.lang.Object obj) throws CacheException
name
- obj
-
CacheException
public void put(java.lang.Object name, java.lang.Object obj) throws CacheException
name
- obj
-
CacheException
public void put(java.lang.Object name, java.lang.Object obj, IElementAttributes attr) throws CacheException
name
- obj
- attr
-
CacheException
public void destroy() throws CacheException
CacheException
remove()
public void remove() throws CacheException
CacheException
public void destroy(java.lang.Object name) throws CacheException
name
-
CacheException
remove()
public void remove(java.lang.Object name) throws CacheException
name
-
CacheException
public void resetElementAttributes(IElementAttributes attr) throws CacheException
attr
-
CacheException
public void resetElementAttributes(java.lang.Object name, IElementAttributes attr) throws CacheException
name
- attr
-
CacheException
public IElementAttributes getElementAttributes() throws CacheException
CacheException
public IElementAttributes getElementAttributes(java.lang.Object name) throws CacheException
name
-
CacheException
public ICompositeCacheAttributes getCacheAttributes()
public void setCacheAttributes(ICompositeCacheAttributes cattr)
cattr
- The new ICompositeCacheAttribute value
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |