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() |
void |
clearWithVersion(long version) |
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 |
putRecords(Collection<RecordMigrationInfo> records,
long version) |
Object |
putWithVersion(Object key,
Object value,
long ttl,
TimeUnit timeUnit,
boolean incrementHits,
long version) |
Iterator |
recordIterator() |
Object |
remove(Object key) |
Object |
removeWithVersion(Object key,
long version) |
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, isStale, scheduleTtlEntry, setLoaded
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 Object putWithVersion(Object key, Object value, long ttl, TimeUnit timeUnit, boolean incrementHits, long version)
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 clearWithVersion(long version)
public void reset()
public Iterator recordIterator()
public void putRecords(Collection<RecordMigrationInfo> records, long version)
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 © 2018 Hazelcast, Inc.. All Rights Reserved.