org.smallmind.quorum.cache.indigenous
Class TimestampedCacheSource<K,V>
java.lang.Object
org.smallmind.quorum.cache.indigenous.TimestampedCacheSource<K,V>
- All Implemented Interfaces:
- CacheSource<K,V,TimestampOrderedCacheEntry<V>>
public abstract class TimestampedCacheSource<K,V>
- extends Object
- implements CacheSource<K,V,TimestampOrderedCacheEntry<V>>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimestampedCacheSource
public TimestampedCacheSource()
obtainValue
public abstract V obtainValue(K key,
Object... parameters)
throws Exception
- Throws:
Exception
createEntry
public TimestampOrderedCacheEntry<V> createEntry(K key,
Object... parameters)
throws CacheException
- Specified by:
createEntry in interface CacheSource<K,V,TimestampOrderedCacheEntry<V>>
- Throws:
CacheException
wrapReference
public CacheReference<K,TimestampOrderedCacheEntry<V>> wrapReference(K key,
V value)
throws CacheException
- Specified by:
wrapReference in interface CacheSource<K,V,TimestampOrderedCacheEntry<V>>
- Throws:
CacheException
Copyright © 2011. All Rights Reserved.