Interface TransactionContext.Transaction
-
- All Superinterfaces:
java.lang.AutoCloseable
- Enclosing class:
- TransactionContext
public static interface TransactionContext.Transaction extends java.lang.AutoCloseable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addOutputs(java.util.List<StreamElement> outputs)
void
close()
void
commit(CommitCallback callback)
java.lang.String
getTransactionId()
boolean
isActive()
void
rollback()
void
update(java.util.List<KeyAttribute> keyAttributes)
-
-
-
Method Detail
-
isActive
boolean isActive()
-
getTransactionId
java.lang.String getTransactionId()
-
update
void update(java.util.List<KeyAttribute> keyAttributes) throws TransactionalOnlineAttributeWriter.TransactionRejectedException
-
addOutputs
void addOutputs(java.util.List<StreamElement> outputs)
-
rollback
void rollback()
-
commit
void commit(CommitCallback callback) throws TransactionalOnlineAttributeWriter.TransactionRejectedException
-
close
void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
-
-