public class ReplicaStore<K,V> extends Object
| Constructor and Description |
|---|
ReplicaStore(DataStoreContext<K,V> ctx) |
| Modifier and Type | Method and Description |
|---|---|
DataStoreEntry<K,V> |
getEntry(K k) |
DataStoreEntry<K,V> |
getOrCreateEntry(K k) |
V |
getV(K k,
ClassLoader cl) |
Collection<K> |
keys() |
void |
remove(K k) |
int |
removeExpired() |
void |
setIdleEntryDetector(IdleEntryDetector<K,V> idleEntryDetector) |
int |
size() |
Collection<DataStoreEntry<K,V>> |
values() |
public ReplicaStore(DataStoreContext<K,V> ctx)
public void setIdleEntryDetector(IdleEntryDetector<K,V> idleEntryDetector)
public DataStoreEntry<K,V> getEntry(K k)
public DataStoreEntry<K,V> getOrCreateEntry(K k)
public V getV(K k, ClassLoader cl) throws DataStoreException
DataStoreExceptionpublic void remove(K k)
public int size()
public int removeExpired()
public Collection<K> keys()
public Collection<DataStoreEntry<K,V>> values()
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.