Class StepDownCommand
java.lang.Object
de.caluga.morphium.driver.commands.MongoCommand<T>
de.caluga.morphium.driver.commands.AdminMongoCommand<StepDownCommand>
de.caluga.morphium.driver.commands.StepDownCommand
- All Implemented Interfaces:
SingleResultCommand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasMap()getForce()intsetSecondaryCatchUpPeriodSecs(Integer secondaryCatchUpPeriodSecs) setTimeToStepDown(int timeToStepDown) Methods inherited from class de.caluga.morphium.driver.commands.AdminMongoCommand
execute, executeAsyncMethods inherited from class de.caluga.morphium.driver.commands.MongoCommand
clear, getColl, getComment, getConnection, getDb, getDefaultBatchSize, getMetaData, getRetriesOnNetworkError, getSleepBetweenErrorRetries, setColl, setComment, setConnection, setDb, setDefaultBatchSize, setMetaData, setMetaData, setRetriesOnNetworkError, setSleepBetweenErrorRetriesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.caluga.morphium.driver.commands.SingleResultCommand
getMetaData
-
Constructor Details
-
StepDownCommand
-
-
Method Details
-
getCommandName
- Specified by:
getCommandNamein classMongoCommand<StepDownCommand>
-
getTimeToStepDown
public int getTimeToStepDown() -
setTimeToStepDown
-
getSecondaryCatchUpPeriodSecs
-
setSecondaryCatchUpPeriodSecs
-
getForce
-
setForce
-
asMap
- Specified by:
asMapin interfaceSingleResultCommand- Overrides:
asMapin classAdminMongoCommand<StepDownCommand>
-
fromMap
- Overrides:
fromMapin classMongoCommand<StepDownCommand>
-