Package org.mybatis.caches.ignite
Class IgniteCacheAdapter
java.lang.Object
org.mybatis.caches.ignite.IgniteCacheAdapter
- All Implemented Interfaces:
org.apache.ibatis.cache.Cache
Cache adapter for Ignite. Cache is initialized from IGNITE_HOME/config/default-config.xml settings, otherwise default
one is started.
- Author:
- Roman Shtykh
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
getId()
int
getSize()
void
removeObject
(Object key)
-
Constructor Details
-
IgniteCacheAdapter
Constructor.- Parameters:
id
- Cache id.
-
-
Method Details
-
getId
- Specified by:
getId
in interfaceorg.apache.ibatis.cache.Cache
-
putObject
- Specified by:
putObject
in interfaceorg.apache.ibatis.cache.Cache
-
getObject
- Specified by:
getObject
in interfaceorg.apache.ibatis.cache.Cache
-
removeObject
- Specified by:
removeObject
in interfaceorg.apache.ibatis.cache.Cache
-
clear
public void clear()- Specified by:
clear
in interfaceorg.apache.ibatis.cache.Cache
-
getSize
public int getSize()- Specified by:
getSize
in interfaceorg.apache.ibatis.cache.Cache
-
getReadWriteLock
- Specified by:
getReadWriteLock
in interfaceorg.apache.ibatis.cache.Cache
-