Class AbstractHazelcastCache
java.lang.Object
org.mybatis.caches.hazelcast.AbstractHazelcastCache
- All Implemented Interfaces:
org.apache.ibatis.cache.Cache
- Direct Known Subclasses:
HazelcastCache, HazelcastClientCache
public abstract class AbstractHazelcastCache
extends Object
implements org.apache.ibatis.cache.Cache
The Class AbstractHazelcastCache.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe cache map reference.protected final StringThe cache id.protected final ReadWriteLockTheReadWriteLock. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractHazelcastCache(String id, com.hazelcast.map.IMap<Object, Object> imap) Instantiates a new abstract hazelcast cache. -
Method Summary
-
Field Details
-
readWriteLock
TheReadWriteLock. -
id
The cache id. -
cacheMap
-
-
Constructor Details
-
AbstractHazelcastCache
-
-
Method Details
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.ibatis.cache.Cache
-
getId
- Specified by:
getIdin interfaceorg.apache.ibatis.cache.Cache
-
getObject
-
getReadWriteLock
- Specified by:
getReadWriteLockin interfaceorg.apache.ibatis.cache.Cache
-
getSize
public int getSize()- Specified by:
getSizein interfaceorg.apache.ibatis.cache.Cache
-
putObject
-
removeObject
-
equals
-
hashCode
-
toString
-