org.shoal.ha.cache.impl.store
Class ReplicaStore<K,V>
java.lang.Object
org.shoal.ha.cache.impl.store.ReplicaStore<K,V>
public class ReplicaStore<K,V>
- extends java.lang.Object
- Author:
- Mahesh Kannan
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReplicaStore
public ReplicaStore(DataStoreContext<K,V> ctx)
getEntry
public DataStoreEntry<K,V> getEntry(K k)
getOrCreateEntry
public DataStoreEntry<K,V> getOrCreateEntry(K k)
getV
public V getV(K k)
throws DataStoreException
- Throws:
DataStoreException
remove
public void remove(K k)
size
public int size()
removeExpired
public int removeExpired(long idleforMillis)
removeExpired
public void removeExpired(org.glassfish.ha.store.api.StoreEntryProcessor processor)
throws DataStoreException
- Throws:
DataStoreException
keys
public java.util.Collection<K> keys()
values
public java.util.Collection<DataStoreEntry<K,V>> values()
Copyright © 2010. All Rights Reserved.