Package com.twicedb.client.txn
Class Txn
java.lang.Object
com.twicedb.client.txn.Txn
- All Implemented Interfaces:
Txn
An implementation of a transaction for TwiceDB. Use this class to perform multiple writes at the
same Tt.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
deleteObject
(Indexable object, Vt vtFrom) static Txn
getEvent()
List<WriteRequest.WriteCommand>
boolean
hasEvent()
void
void
void
void
reinstateObject
(Indexable object, Vt vtFrom) void
-
Constructor Details
-
Txn
public Txn()
-
-
Method Details
-
eventTxn
-
setEvent
-
getEvent
-
hasEvent
public boolean hasEvent() -
getWriteCommands
- Specified by:
getWriteCommands
in interfaceTxn
-
getObjects
- Specified by:
getObjects
in interfaceTxn
-