Class AbortTransactionCommand
- java.lang.Object
-
- de.caluga.morphium.driver.commands.MongoCommand<T>
-
- de.caluga.morphium.driver.commands.AdminMongoCommand<AbortTransactionCommand>
-
- de.caluga.morphium.driver.commands.AbortTransactionCommand
-
- All Implemented Interfaces:
SingleResultCommand
public class AbortTransactionCommand extends AdminMongoCommand<AbortTransactionCommand>
-
-
Constructor Summary
Constructors Constructor Description AbortTransactionCommand(MongoConnection d)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>asMap()StringgetCommandName()UUIDgetLsid()longgetTxnNumber()booleanisAutocommit()AbortTransactionCommandsetAutocommit(boolean autocommit)AbortTransactionCommandsetLsid(UUID lsid)AbortTransactionCommandsetTxnNumber(long txnNumber)-
Methods inherited from class de.caluga.morphium.driver.commands.AdminMongoCommand
execute, executeAsync
-
Methods inherited from class de.caluga.morphium.driver.commands.MongoCommand
clear, fromMap, getColl, getComment, getConnection, getDb, getMetaData, releaseConnection, setColl, setComment, setConnection, setDb, setMetaData, setMetaData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.caluga.morphium.driver.commands.SingleResultCommand
getMetaData
-
-
-
-
Constructor Detail
-
AbortTransactionCommand
public AbortTransactionCommand(MongoConnection d)
-
-
Method Detail
-
asMap
public Map<String,Object> asMap()
- Specified by:
asMapin interfaceSingleResultCommand- Overrides:
asMapin classAdminMongoCommand<AbortTransactionCommand>
-
getCommandName
public String getCommandName()
- Specified by:
getCommandNamein classMongoCommand<AbortTransactionCommand>
-
isAutocommit
public boolean isAutocommit()
-
setAutocommit
public AbortTransactionCommand setAutocommit(boolean autocommit)
-
getLsid
public UUID getLsid()
-
setLsid
public AbortTransactionCommand setLsid(UUID lsid)
-
getTxnNumber
public long getTxnNumber()
-
setTxnNumber
public AbortTransactionCommand setTxnNumber(long txnNumber)
-
-