|
Elexis API documentationVersion 2.1.6 as of December 11 2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPersistentObjectCache<K>
Method Summary | |
---|---|
void |
clear()
|
java.lang.Object |
get(K key)
retrieve a previously inserted object |
void |
purge()
Expire and remove all Objects (without removing the SoftReferences, to avoid ConcurrentModificationExceptions) |
void |
put(K key,
java.lang.Object object,
int timeToCacheInSeconds)
Insert an Object that will stay until it is manually removed, or memory gets low, or at most for ICacheable#getCacheTime seconds |
void |
remove(K key)
|
void |
reset()
completely delete cache |
void |
stat()
write statistics to log |
Method Detail |
---|
void put(K key, java.lang.Object object, int timeToCacheInSeconds)
java.lang.Object get(K key)
void remove(K key)
void clear()
void stat()
void purge()
void reset()
|
Elexis API documentationVersion 2.1.6 as of December 11 2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |