public class TimestampsRegionCache extends LocalRegionCache implements RegionCache
cache, config, hazelcastInstance, markerIdCounter, messageListener, topic, versionComparator
Constructor and Description |
---|
TimestampsRegionCache(String name,
HazelcastInstance hazelcastInstance) |
Modifier and Type | Method and Description |
---|---|
protected Object |
createMessage(Object key,
Object value,
Object currentVersion) |
protected void |
maybeInvalidate(Object messageObject) |
boolean |
put(Object key,
Object value,
long txTimestamp,
Object version) |
asMap, clear, contains, createMessageListener, get, getSizeInMemory, insert, maybeNotifyTopic, remove, size, tryLock, unlock, update
public TimestampsRegionCache(String name, HazelcastInstance hazelcastInstance)
public boolean put(Object key, Object value, long txTimestamp, Object version)
put
in interface RegionCache
put
in class LocalRegionCache
protected void maybeInvalidate(Object messageObject)
maybeInvalidate
in class LocalRegionCache
protected Object createMessage(Object key, Object value, Object currentVersion)
createMessage
in class LocalRegionCache
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.