public class OrderedCache<D extends CacheMetaData,K,V,E extends OrderedCacheEntry<D,V>> extends AbstractCache<K,V,E>
| Constructor and Description |
|---|
OrderedCache(String cacheName,
CacheSource<K,V,E> cacheSource,
CacheAccumulator<D,K,E> cacheAccumulator,
Comparator<D> metaDataComparator) |
OrderedCache(String cacheName,
CacheSource<K,V,E> cacheSource,
CacheAccumulator<D,K,E> cacheAccumulator,
Comparator<D> metaDataComparator,
CacheExpirationPolicy<E> cacheExpirationPolicy) |
OrderedCache(String cacheName,
CacheSource<K,V,E> cacheSource,
CacheAccumulator<D,K,E> cacheAccumulator,
Comparator<D> metaDataComparator,
CacheExpirationPolicy<E> cacheExpirationPolicy,
int initialCapacity,
float loadFactor,
int concurrencyLevel) |
OrderedCache(String cacheName,
CacheSource<K,V,E> cacheSource,
CacheAccumulator<D,K,E> cacheAccumulator,
Comparator<D> metaDataComparator,
CacheExpirationPolicy<E> cacheExpirationPolicy,
int initialCapacity,
float loadFactor,
int concurrencyLevel,
long externalLockTimeout) |
OrderedCache(String cacheName,
CacheSource<K,V,E> cacheSource,
CacheAccumulator<D,K,E> cacheAccumulator,
Comparator<D> metaDataComparator,
int initialCapacity,
float loadFactor,
int concurrencyLevel) |
OrderedCache(String cacheName,
CacheSource<K,V,E> cacheSource,
CacheAccumulator<D,K,E> cacheAccumulator,
Comparator<D> metaDataComparator,
int initialCapacity,
float loadFactor,
int concurrencyLevel,
long externalLockTimeout) |
| Modifier and Type | Method and Description |
|---|---|
V |
get(KeyLock keyLock,
K key,
Object... parameters) |
protected E |
implantReference(CacheReference<K,E> cacheReference) |
V |
remove(KeyLock keyLock,
K key) |
clear, close, createNewEntry, exists, expireEntry, getCacheName, getExistingEntry, getKeyIterator, isClosed, put, putIfAbsent, retrieveEntry, size, validateexecuteLockedCallback, gateKey, getLockTimeout, getStripeLockArray, lock, lockStripe, unlockclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteLockedCallback, getLockTimeout, lock, unlockpublic OrderedCache(String cacheName, CacheSource<K,V,E> cacheSource, CacheAccumulator<D,K,E> cacheAccumulator, Comparator<D> metaDataComparator) throws CacheException
CacheExceptionpublic OrderedCache(String cacheName, CacheSource<K,V,E> cacheSource, CacheAccumulator<D,K,E> cacheAccumulator, Comparator<D> metaDataComparator, int initialCapacity, float loadFactor, int concurrencyLevel) throws CacheException
CacheExceptionpublic OrderedCache(String cacheName, CacheSource<K,V,E> cacheSource, CacheAccumulator<D,K,E> cacheAccumulator, Comparator<D> metaDataComparator, int initialCapacity, float loadFactor, int concurrencyLevel, long externalLockTimeout) throws CacheException
CacheExceptionpublic OrderedCache(String cacheName, CacheSource<K,V,E> cacheSource, CacheAccumulator<D,K,E> cacheAccumulator, Comparator<D> metaDataComparator, CacheExpirationPolicy<E> cacheExpirationPolicy) throws CacheException
CacheExceptionpublic OrderedCache(String cacheName, CacheSource<K,V,E> cacheSource, CacheAccumulator<D,K,E> cacheAccumulator, Comparator<D> metaDataComparator, CacheExpirationPolicy<E> cacheExpirationPolicy, int initialCapacity, float loadFactor, int concurrencyLevel) throws CacheException
CacheExceptionpublic OrderedCache(String cacheName, CacheSource<K,V,E> cacheSource, CacheAccumulator<D,K,E> cacheAccumulator, Comparator<D> metaDataComparator, CacheExpirationPolicy<E> cacheExpirationPolicy, int initialCapacity, float loadFactor, int concurrencyLevel, long externalLockTimeout) throws CacheException
CacheExceptionpublic V remove(KeyLock keyLock, K key) throws CacheException
remove in interface LockingCache<K,V>remove in class AbstractCache<K,V,E extends OrderedCacheEntry<D,V>>CacheExceptionpublic V get(KeyLock keyLock, K key, Object... parameters) throws CacheException
get in interface LockingCache<K,V>get in class AbstractCache<K,V,E extends OrderedCacheEntry<D,V>>CacheExceptionprotected E implantReference(CacheReference<K,E> cacheReference) throws CacheException
implantReference in class AbstractCache<K,V,E extends OrderedCacheEntry<D,V>>CacheExceptionCopyright © 2013. All Rights Reserved.