Package net.carcdr.ycrdt.panama
Class PanamaYTransaction
java.lang.Object
net.carcdr.ycrdt.panama.PanamaYTransaction
- All Implemented Interfaces:
AutoCloseable,net.carcdr.ycrdt.YTransaction
Panama FFM implementation of YTransaction.
Transactions are used to batch operations on a Y-CRDT document. They must be committed (closed) for changes to take effect.
-
Method Summary
-
Method Details
-
commit
public void commit()- Specified by:
commitin interfacenet.carcdr.ycrdt.YTransaction
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfacenet.carcdr.ycrdt.YTransaction
-
isClosed
public boolean isClosed()Checks if this transaction has been closed.- Specified by:
isClosedin interfacenet.carcdr.ycrdt.YTransaction- Returns:
- true if closed
-