Class TransactionContext
- java.lang.Object
-
- cz.o2.proxima.direct.server.transaction.TransactionContext
-
- All Implemented Interfaces:
java.lang.AutoCloseable
@ThreadSafe @Internal public class TransactionContext extends java.lang.Object implements java.lang.AutoCloseable
A per-transaction context shared betweenRetrieveService
andIngestService
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
TransactionContext.Transaction
-
Constructor Summary
Constructors Constructor Description TransactionContext(DirectDataOperator direct)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
java.lang.String
create()
java.lang.String
create(java.lang.String transactionId)
TransactionContext.Transaction
get(java.lang.String transactionId)
void
run()
-
-
-
Constructor Detail
-
TransactionContext
public TransactionContext(DirectDataOperator direct)
-
-
Method Detail
-
run
public void run()
-
create
public java.lang.String create()
-
create
public java.lang.String create(java.lang.String transactionId)
-
get
public TransactionContext.Transaction get(java.lang.String transactionId)
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
-
-