Package com.mongodb.operation
Class AbortTransactionOperation
- java.lang.Object
-
- com.mongodb.operation.TransactionOperation
-
- com.mongodb.operation.AbortTransactionOperation
-
- All Implemented Interfaces:
AsyncWriteOperation<java.lang.Void>
,WriteOperation<java.lang.Void>
@Deprecated public class AbortTransactionOperation extends TransactionOperation
Deprecated.An operation that aborts a transaction.- Since:
- 3.8
-
-
Constructor Summary
Constructors Constructor Description AbortTransactionOperation(WriteConcern writeConcern)
Deprecated.Construct an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AbortTransactionOperation
recoveryToken(BsonDocument recoveryToken)
Deprecated.Set the recovery token.-
Methods inherited from class com.mongodb.operation.TransactionOperation
execute, executeAsync, getWriteConcern
-
-
-
-
Constructor Detail
-
AbortTransactionOperation
public AbortTransactionOperation(WriteConcern writeConcern)
Deprecated.Construct an instance.- Parameters:
writeConcern
- the write concern
-
-
Method Detail
-
recoveryToken
public AbortTransactionOperation recoveryToken(BsonDocument recoveryToken)
Deprecated.Set the recovery token.- Parameters:
recoveryToken
- the recovery token- Returns:
- the AbortTransactionOperation
- Since:
- 3.11
-
-