Class FailoverCreateRequest
java.lang.Object
com.iland.core.web.rest.request.vpg.FailoverCreateRequest
- All Implemented Interfaces:
Serializable
Failover Create Request.
- Author:
- Brett Snyder
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Constructor Summary
ConstructorsConstructorDescriptionFailoverCreateRequest(String checkpointIdentifier, FailoverCreateRequest.CommitPolicy commitPolicy, FailoverCreateRequest.ShutdownPolicy shutdownPolicy, int timeToWaitBeforeShutdownInSec, int commitValue) Instantiates a new failover params. -
Method Summary
Modifier and TypeMethodDescriptionGets the checkpoint identifier.Gets the commit policy.intGets the commit value.Gets the shutdown policy.intGets the time to wait before shutdown in sec.toString()
-
Constructor Details
-
FailoverCreateRequest
public FailoverCreateRequest(String checkpointIdentifier, FailoverCreateRequest.CommitPolicy commitPolicy, FailoverCreateRequest.ShutdownPolicy shutdownPolicy, int timeToWaitBeforeShutdownInSec, int commitValue) Instantiates a new failover params.- Parameters:
checkpointIdentifier- the checkpoint identifiercommitPolicy- the commit policyshutdownPolicy- the shutdown policytimeToWaitBeforeShutdownInSec- the time to wait before shutdown in seccommitValue- time to wait before commit
-
-
Method Details
-
getCheckpointIdentifier
Gets the checkpoint identifier.- Returns:
- the checkpoint identifier
-
getCommitPolicy
Gets the commit policy.- Returns:
- the commit policy
-
getShutdownPolicy
Gets the shutdown policy.- Returns:
- the shutdown policy
-
getTimeToWaitBeforeShutdownInSec
public int getTimeToWaitBeforeShutdownInSec()Gets the time to wait before shutdown in sec.- Returns:
- the time to wait before shutdown in sec
-
getCommitValue
public int getCommitValue()Gets the commit value.- Returns:
- the commit value
-
toString
-