Class FailoverParamsRequest
java.lang.Object
com.iland.core.web.rest.request.vpg.FailoverParamsRequest
- All Implemented Interfaces:
Serializable
Failover Params Request.
- Author:
- Nick Kasprzak
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFailoverParamsRequest(String checkpointIdentifier, VpgFailoverCommitPolicyRequest commitPolicy, VpgFailoverShutdownPolicyRequest shutdownPolicy, int timeToWaitBeforeShutdownInSec, int commitValue) -
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.
-
Constructor Details
-
FailoverParamsRequest
public FailoverParamsRequest(String checkpointIdentifier, VpgFailoverCommitPolicyRequest commitPolicy, VpgFailoverShutdownPolicyRequest shutdownPolicy, int timeToWaitBeforeShutdownInSec, int commitValue)
-
-
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
-