Package eu.antidotedb.client
Class AntidoteTransaction
- java.lang.Object
-
- eu.antidotedb.client.AntidoteTransaction
-
- All Implemented Interfaces:
UpdateContext
- Direct Known Subclasses:
AntidoteStaticTransaction
,TransactionWithReads
public abstract class AntidoteTransaction extends java.lang.Object implements UpdateContext
A transaction, either static (batch of updates) or interactive (mixed reads and writes)
-
-
Constructor Summary
Constructors Constructor Description AntidoteTransaction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
onGetConnection(Connection connection)
Called when a connection is acquired by the transactionprotected void
onReleaseConnection(Connection connection)
Called when a connection is released by the transaction
-
-
-
Method Detail
-
onGetConnection
protected void onGetConnection(Connection connection)
Called when a connection is acquired by the transaction
-
onReleaseConnection
protected void onReleaseConnection(Connection connection)
Called when a connection is released by the transaction
-
-