com.hazelcast.replicatedmap.impl.record
K
- key typeV
- value typepublic abstract class AbstractReplicatedRecordStore<K,V> extends Object
ReplicatedRecordStore
implementationsModifier and Type | Field and Description |
---|---|
protected Member |
localMember |
protected int |
localMemberHash |
protected LocalReplicatedMapStatsImpl |
mapStats |
protected NodeEngine |
nodeEngine |
protected ReplicatedMapConfig |
replicatedMapConfig |
protected ReplicatedMapService |
replicatedMapService |
protected ReplicationPublisher |
replicationPublisher |
protected com.hazelcast.replicatedmap.impl.record.InternalReplicatedMapStorage<K,V> |
storage |
Constructor and Description |
---|
AbstractReplicatedRecordStore(String name,
NodeEngine nodeEngine,
ReplicatedMapService replicatedMapService) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
marshallKey, marshallValue, unmarshallKey, unmarshallValue
protected final LocalReplicatedMapStatsImpl mapStats
protected final com.hazelcast.replicatedmap.impl.record.InternalReplicatedMapStorage<K,V> storage
protected final ReplicatedMapService replicatedMapService
protected final ReplicationPublisher replicationPublisher
protected final ReplicatedMapConfig replicatedMapConfig
protected final NodeEngine nodeEngine
protected final int localMemberHash
protected final Member localMember
public AbstractReplicatedRecordStore(String name, NodeEngine nodeEngine, ReplicatedMapService replicatedMapService)
public void removeTombstone(Object key)
public void evict(Object key)
public boolean containsKey(Object key)
public boolean containsValue(Object value)
public Set keySet()
public Collection values()
public Collection values(Comparator comparator)
public Set entrySet()
public ReplicatedRecord getReplicatedRecord(Object key)
public boolean isEmpty()
public int size()
public void clear(boolean distribute, boolean emptyReplicationQueue)
public String addEntryListener(EntryListener listener, Object key)
public String addEntryListener(EntryListener listener, Predicate predicate, Object key)
public boolean removeEntryListenerInternal(String id)
public String getName()
getName
in interface ReplicatedRecordStore
public void initialize()
initialize
in interface InitializingObject
public void destroy()
destroy
in interface ReplicatedRecordStore
public ReplicationPublisher<K,V> getReplicationPublisher()
getReplicationPublisher
in interface ReplicatedRecordStore
public LocalReplicatedMapStats createReplicatedMapStats()
public LocalReplicatedMapStatsImpl getReplicatedMapStats()
public void finalChunkReceived()
public boolean isLoaded()
public int getLocalMemberHash()
public ReplicatedMapService getReplicatedMapService()
public Set<ReplicatedRecord> getRecords()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.