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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddeleteObject(Indexable object, Vt vtFrom) static TxngetEvent()List<WriteRequest.WriteCommand>booleanhasEvent()voidvoidvoidvoidreinstateObject(Indexable object, Vt vtFrom) void
-
Constructor Details
-
Txn
public Txn()
-
-
Method Details
-
eventTxn
-
setEvent
-
getEvent
-
hasEvent
public boolean hasEvent() -
getWriteCommands
- Specified by:
getWriteCommandsin interfaceTxn
-
getObjects
- Specified by:
getObjectsin interfaceTxn
-