Class CommitTransactionCommand
- java.lang.Object
-
- de.caluga.morphium.driver.commands.MongoCommand<T>
-
- de.caluga.morphium.driver.commands.AdminMongoCommand<CommitTransactionCommand>
-
- de.caluga.morphium.driver.commands.CommitTransactionCommand
-
- All Implemented Interfaces:
SingleResultCommand
public class CommitTransactionCommand extends AdminMongoCommand<CommitTransactionCommand>
-
-
Constructor Summary
Constructors Constructor Description CommitTransactionCommand(MongoConnection d)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>asMap()StringgetCommandName()UUIDgetLsid()longgetTxnNumber()booleanisAutocommit()CommitTransactionCommandsetAutocommit(boolean autocommit)CommitTransactionCommandsetLsid(UUID lsid)CommitTransactionCommandsetTxnNumber(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
-
CommitTransactionCommand
public CommitTransactionCommand(MongoConnection d)
-
-
Method Detail
-
asMap
public Map<String,Object> asMap()
- Specified by:
asMapin interfaceSingleResultCommand- Overrides:
asMapin classAdminMongoCommand<CommitTransactionCommand>
-
getCommandName
public String getCommandName()
- Specified by:
getCommandNamein classMongoCommand<CommitTransactionCommand>
-
isAutocommit
public boolean isAutocommit()
-
setAutocommit
public CommitTransactionCommand setAutocommit(boolean autocommit)
-
getLsid
public UUID getLsid()
-
setLsid
public CommitTransactionCommand setLsid(UUID lsid)
-
getTxnNumber
public long getTxnNumber()
-
setTxnNumber
public CommitTransactionCommand setTxnNumber(long txnNumber)
-
-