K
- key typeV
- value typepublic class InternalReplicatedMapStorage<K,V> extends Object
ReplicatedMapConfig
Constructor and Description |
---|
InternalReplicatedMapStorage() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
Set<Map.Entry<K,ReplicatedRecord<K,V>>> |
entrySet() |
ReplicatedRecord<K,V> |
get(Object key) |
long |
getVersion() |
long |
incrementVersion() |
boolean |
isEmpty() |
boolean |
isStale(long version) |
Set<K> |
keySet() |
ReplicatedRecord<K,V> |
put(K key,
ReplicatedRecord<K,V> replicatedRecord) |
boolean |
remove(K key,
ReplicatedRecord<K,V> replicatedRecord) |
void |
setVersion(long version) |
int |
size() |
void |
syncVersion(long version) |
Collection<ReplicatedRecord<K,V>> |
values() |
public long getVersion()
public void syncVersion(long version)
public void setVersion(long version)
public long incrementVersion()
public ReplicatedRecord<K,V> get(Object key)
public ReplicatedRecord<K,V> put(K key, ReplicatedRecord<K,V> replicatedRecord)
public boolean remove(K key, ReplicatedRecord<K,V> replicatedRecord)
public boolean containsKey(Object key)
public Collection<ReplicatedRecord<K,V>> values()
public void clear()
public boolean isEmpty()
public int size()
public boolean isStale(long version)
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.