Class TransactionalOnlineAttributeWriter.Transaction
- java.lang.Object
-
- cz.o2.proxima.direct.core.transaction.TransactionalOnlineAttributeWriter.Transaction
-
- All Implemented Interfaces:
java.lang.AutoCloseable
- Enclosing class:
- TransactionalOnlineAttributeWriter
public class TransactionalOnlineAttributeWriter.Transaction extends java.lang.Object implements java.lang.AutoCloseable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
commitWrite(java.util.List<StreamElement> outputs, CommitCallback callback)
java.util.concurrent.CompletableFuture<java.lang.Void>
rollback()
void
sync()
void
update(java.util.List<KeyAttribute> addedInputs)
-
-
-
Method Detail
-
update
public void update(java.util.List<KeyAttribute> addedInputs)
-
commitWrite
public void commitWrite(java.util.List<StreamElement> outputs, CommitCallback callback)
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
-
rollback
public java.util.concurrent.CompletableFuture<java.lang.Void> rollback()
-
sync
public void sync() throws TransactionalOnlineAttributeWriter.TransactionRejectedException
-
-