|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the the caching in MCA services
Nested Class Summary |
Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
Method Summary | |
void |
cleanup()
This method cleans up the cache by removing un-needed entries |
void |
enableCaching(boolean enableCache)
This method enables or disables caching. |
CachePolicy |
getCachePolicy()
This method gets the CachePolicy object for this Cache |
void |
remove(java.util.Set keySet)
This method removes the specified keys from the cache and the data store |
void |
removeAll()
Removes all objects from the cache and from the data store. |
void |
setCachePolicy(CachePolicy policy)
This method sets the CachePolicy object for this Cache |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Method Detail |
public void cleanup()
public void enableCaching(boolean enableCache)
enableCache
- true to enable, false to disablepublic CachePolicy getCachePolicy()
public void remove(java.util.Set keySet)
keySet
- the keys to remove from the cachepublic void removeAll()
public void setCachePolicy(CachePolicy policy)
policy
- The new cache policy
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |