org.smallmind.quorum.cache.indigenous
Class UnorderedCache<K,V,E extends CacheEntry<V>>
java.lang.Object
org.smallmind.quorum.cache.LockingCacheEnforcer<K,V>
org.smallmind.quorum.cache.indigenous.AbstractCache<K,V,E>
org.smallmind.quorum.cache.indigenous.UnorderedCache<K,V,E>
- All Implemented Interfaces:
- LockingCache<K,V>
public class UnorderedCache<K,V,E extends CacheEntry<V>>
- extends AbstractCache<K,V,E>
|
Constructor Summary |
UnorderedCache(String cacheName,
CacheSource<K,V,E> cacheSource)
|
UnorderedCache(String cacheName,
CacheSource<K,V,E> cacheSource,
CacheExpirationPolicy<E> cacheExpirationPolicy)
|
UnorderedCache(String cacheName,
CacheSource<K,V,E> cacheSource,
CacheExpirationPolicy<E> cacheExpirationPolicy,
int initialCapacity,
float loadFactor,
int concurrencyLevel)
|
UnorderedCache(String cacheName,
CacheSource<K,V,E> cacheSource,
CacheExpirationPolicy<E> cacheExpirationPolicy,
int initialCapacity,
float loadFactor,
int concurrencyLevel,
long externalLockTimeout)
|
UnorderedCache(String cacheName,
CacheSource<K,V,E> cacheSource,
int initialCapacity,
float loadFactor,
int concurrencyLevel)
|
UnorderedCache(String cacheName,
CacheSource<K,V,E> cacheSource,
int initialCapacity,
float loadFactor,
int concurrencyLevel,
long externalLockTimeout)
|
| Methods inherited from class org.smallmind.quorum.cache.indigenous.AbstractCache |
clear, close, createNewEntry, exists, expireEntry, getCacheName, getExistingEntry, getKeyIterator, implantReference, isClosed, put, putIfAbsent, retrieveEntry, size, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnorderedCache
public UnorderedCache(String cacheName,
CacheSource<K,V,E> cacheSource)
throws CacheException
- Throws:
CacheException
UnorderedCache
public UnorderedCache(String cacheName,
CacheSource<K,V,E> cacheSource,
int initialCapacity,
float loadFactor,
int concurrencyLevel)
throws CacheException
- Throws:
CacheException
UnorderedCache
public UnorderedCache(String cacheName,
CacheSource<K,V,E> cacheSource,
int initialCapacity,
float loadFactor,
int concurrencyLevel,
long externalLockTimeout)
throws CacheException
- Throws:
CacheException
UnorderedCache
public UnorderedCache(String cacheName,
CacheSource<K,V,E> cacheSource,
CacheExpirationPolicy<E> cacheExpirationPolicy)
throws CacheException
- Throws:
CacheException
UnorderedCache
public UnorderedCache(String cacheName,
CacheSource<K,V,E> cacheSource,
CacheExpirationPolicy<E> cacheExpirationPolicy,
int initialCapacity,
float loadFactor,
int concurrencyLevel)
throws CacheException
- Throws:
CacheException
UnorderedCache
public UnorderedCache(String cacheName,
CacheSource<K,V,E> cacheSource,
CacheExpirationPolicy<E> cacheExpirationPolicy,
int initialCapacity,
float loadFactor,
int concurrencyLevel,
long externalLockTimeout)
throws CacheException
- Throws:
CacheException
remove
public V remove(KeyLock keyLock,
K key)
- Specified by:
remove in interface LockingCache<K,V>- Specified by:
remove in class AbstractCache<K,V,E extends CacheEntry<V>>
get
public V get(KeyLock keyLock,
K key,
Object... parameters)
throws CacheException
- Specified by:
get in interface LockingCache<K,V>- Specified by:
get in class AbstractCache<K,V,E extends CacheEntry<V>>
- Throws:
CacheException
Copyright © 2011. All Rights Reserved.