Package org.gridgain.cache.store.jdbc
Class JdbcCacheStoreSession
java.lang.Object
org.gridgain.cache.store.jdbc.JdbcCacheStoreSession
- All Implemented Interfaces:
CacheStoreSession
JDBC cache store session.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinishAsync(boolean commit) Finish the current session.Get attached transaction.voidsetTransaction(Transaction transaction) Attaches corresponding Ignite transaction to a session.
-
Constructor Details
-
JdbcCacheStoreSession
public JdbcCacheStoreSession()
-
-
Method Details
-
finishAsync
Description copied from interface:CacheStoreSessionFinish the current session.- Specified by:
finishAsyncin interfaceCacheStoreSession- Parameters:
commit- Commit or not changes.
-
getTransaction
Description copied from interface:CacheStoreSessionGet attached transaction.- Specified by:
getTransactionin interfaceCacheStoreSession- Returns:
- The transaction.
-
setTransaction
Description copied from interface:CacheStoreSessionAttaches corresponding Ignite transaction to a session.- Specified by:
setTransactionin interfaceCacheStoreSession- Parameters:
transaction- The transaction.
-