net.obsearch.cache
Class AbstractOBCache<K,O>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<K,O>
net.obsearch.cache.AbstractOBCache<K,O>
- All Implemented Interfaces:
- Serializable, Cloneable, Map<K,O>
- Direct Known Subclasses:
- OBCacheByteArray, OBCacheLong
public abstract class AbstractOBCache<K,O>
- extends LinkedHashMap<K,O>
- See Also:
- Serialized Form
Method Summary |
abstract void |
clearAll()
Makes sure the cache is cleaned and each
object is stored. |
Methods inherited from interface java.util.Map |
containsKey, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
cacheSize
protected int cacheSize
AbstractOBCache
public AbstractOBCache(int cacheSize)
clearAll
public abstract void clearAll()
throws OBException
- Makes sure the cache is cleaned and each
object is stored.
- Throws:
OBException
Copyright © 2007-2011 Arnoldo Jose Muller Molina. All Rights Reserved.