Package com.logicaldoc.util.cache
Interface Cache<K extends Serializable,V> 
- Type Parameters:
- K- the key
- V- the value
- All Known Implementing Classes:
- EhCache
public interface Cache<K extends Serializable,V> 
A generic cache
- Since:
- 8.1.2
- Author:
- Marco Meschieri - LogicalDOC
- 
Method Summary
- 
Method Details- 
contains
- 
getKeysCollection<K> getKeys()
- 
get
- 
put
- 
remove
- 
clearvoid clear()
- 
flushvoid flush()
- 
getSizelong getSize()
 
-