com.hazelcast.hibernate
Interface RegionCache
- All Known Implementing Classes:
- IMapRegionCache, LocalRegionCache, TimestampsRegionCache
public interface RegionCache
This interface defines an internal cached region implementation as well as a mechanism
to unmap the cache to an underlying Map data-structure
get
Object get(Object key)
put
boolean put(Object key,
Object value,
Object currentVersion)
update
boolean update(Object key,
Object value,
Object currentVersion,
Object previousVersion,
SoftLock lock)
remove
boolean remove(Object key)
tryLock
SoftLock tryLock(Object key,
Object version)
unlock
void unlock(Object key,
SoftLock lock)
contains
boolean contains(Object key)
clear
void clear()
size
long size()
getSizeInMemory
long getSizeInMemory()
asMap
Map asMap()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.