Package com.mongodb.operation
Class AbortTransactionOperation
- java.lang.Object
-
- com.mongodb.operation.TransactionOperation
-
- com.mongodb.operation.AbortTransactionOperation
-
- All Implemented Interfaces:
AsyncWriteOperation<Void>
,WriteOperation<Void>
Deprecated.
@Deprecated public class AbortTransactionOperation extends TransactionOperation
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 protected String
getCommandName()
Deprecated.Gets the command name.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
-
getCommandName
protected String getCommandName()
Deprecated.Description copied from class:TransactionOperation
Gets the command name.- Specified by:
getCommandName
in classTransactionOperation
- Returns:
- the command name
-
-