Class AutoStateTransferResponse

java.lang.Object
org.infinispan.xsite.response.AutoStateTransferResponse
All Implemented Interfaces:
Response

public class AutoStateTransferResponse extends Object implements Response
A Response implementation for command XSiteAutoTransferStatusCommand.
Since:
12.1
Author:
Pedro Ruivo
  • Field Details

  • Constructor Details

    • AutoStateTransferResponse

      public AutoStateTransferResponse(boolean isOffline, XSiteStateTransferMode stateTransferMode)
  • Method Details

    • isSuccessful

      public boolean isSuccessful()
      Specified by:
      isSuccessful in interface Response
    • isValid

      public boolean isValid()
      Specified by:
      isValid in interface Response
    • isOffline

      public boolean isOffline()
    • stateTransferMode

      public XSiteStateTransferMode stateTransferMode()
    • canDoAutomaticStateTransfer

      public boolean canDoAutomaticStateTransfer()