public interface CacheStoreSession
properties() map.
You can then commit this connection in the CacheStore.txEnd(boolean) method.
CacheStoreSession can be injected into an implementation of CacheStore with
@CacheStoreSessionResource annotation.
CacheStoreSessionResource| Modifier and Type | Method and Description |
|---|---|
String |
cacheName()
Cache name for the current store operation.
|
boolean |
isWithinTransaction()
Returns
true if performing store operation within a transaction,
false otherwise. |
<K,V> Map<K,V> |
properties()
Gets current session properties.
|
Transaction |
transaction()
Gets transaction spanning multiple store operations, or
null if
there is no transaction. |
Transaction transaction()
null if
there is no transaction.boolean isWithinTransaction()
true if performing store operation within a transaction,
false otherwise. Analogous to calling transaction() != null.True if performing store operation within a transaction,
false otherwise.<K,V> Map<K,V> properties()
String cacheName()
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC3 Release Date : March 24 2015