K
- key typeV
- value typepublic abstract class AbstractReplicatedRecordStore<K,V> extends AbstractBaseReplicatedRecordStore<K,V>
ReplicatedRecordStore
implementationseventService, isLoaded, name, nodeEngine, partitionId, partitionService, replicatedMapConfig, replicatedMapService, serializationService, storageRef, ttlEvictionScheduler
Constructor and Description |
---|
AbstractReplicatedRecordStore(String name,
ReplicatedMapService replicatedMapService,
int partitionId) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set |
entrySet(boolean lazy) |
void |
evict(Object key) |
Object |
get(Object key) |
ReplicatedRecord |
getReplicatedRecord(Object key) |
boolean |
isEmpty() |
Set |
keySet(boolean lazy) |
boolean |
merge(Object key,
ReplicatedMapEntryView mergingEntry,
ReplicatedMapMergePolicy policy) |
Object |
put(Object key,
Object value) |
Object |
put(Object key,
Object value,
long ttl,
TimeUnit timeUnit,
boolean incrementHits) |
void |
putRecord(RecordMigrationInfo record) |
Iterator |
recordIterator() |
Object |
remove(Object key) |
void |
reset() |
protected void |
sendReplicationOperation(boolean isRemove,
String name,
Data key,
Data value,
long ttl,
VersionResponsePair response) |
int |
size() |
Collection |
values(boolean lazy) |
Collection |
values(Comparator comparator) |
cancelTtlEntry, destroy, equals, getName, getRecords, getStats, getStorage, getStorageRef, getVersion, hashCode, isLoaded, scheduleTtlEntry, setLoaded, setVersion
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
marshall, unmarshall
public AbstractReplicatedRecordStore(String name, ReplicatedMapService replicatedMapService, int partitionId)
public void evict(Object key)
public boolean containsKey(Object key)
public boolean containsValue(Object value)
public Set keySet(boolean lazy)
public Collection values(boolean lazy)
public Collection values(Comparator comparator)
public Set entrySet(boolean lazy)
public ReplicatedRecord getReplicatedRecord(Object key)
public boolean isEmpty()
public int size()
public void clear()
public void reset()
public Iterator recordIterator()
public void putRecord(RecordMigrationInfo record)
public boolean merge(Object key, ReplicatedMapEntryView mergingEntry, ReplicatedMapMergePolicy policy)
protected void sendReplicationOperation(boolean isRemove, String name, Data key, Data value, long ttl, VersionResponsePair response)
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.