Class IgniteCacheAdapter
java.lang.Object
org.mybatis.caches.ignite.IgniteCacheAdapter
- All Implemented Interfaces:
org.apache.ibatis.cache.Cache
Cache adapter for Ignite 3. Connects to a running Ignite 3 cluster via thin client. The server address is read from
"config/default-config.properties" (property
ignite.addresses), otherwise the default "127.0.0.1:10800" is used.- Author:
- Roman Shtykh
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()getId()intgetSize()voidremoveObject(Object key)
-
Constructor Details
-
IgniteCacheAdapter
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceorg.apache.ibatis.cache.Cache
-
putObject
-
getObject
-
removeObject
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.ibatis.cache.Cache
-
getSize
public int getSize()- Specified by:
getSizein interfaceorg.apache.ibatis.cache.Cache
-
getReadWriteLock
- Specified by:
getReadWriteLockin interfaceorg.apache.ibatis.cache.Cache
-