Class FailoverCreateRequest

java.lang.Object
com.iland.core.web.rest.request.vpg.FailoverCreateRequest
All Implemented Interfaces:
Serializable

public class FailoverCreateRequest extends Object implements Serializable
Failover Create Request.
Author:
Brett Snyder
See Also:
  • 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 identifier
      commitPolicy - the commit policy
      shutdownPolicy - the shutdown policy
      timeToWaitBeforeShutdownInSec - the time to wait before shutdown in sec
      commitValue - time to wait before commit
  • Method Details

    • getCheckpointIdentifier

      public String getCheckpointIdentifier()
      Gets the checkpoint identifier.
      Returns:
      the checkpoint identifier
    • getCommitPolicy

      public FailoverCreateRequest.CommitPolicy getCommitPolicy()
      Gets the commit policy.
      Returns:
      the commit policy
    • getShutdownPolicy

      public FailoverCreateRequest.ShutdownPolicy 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

      public String toString()
      Overrides:
      toString in class Object