Class PutFollowCCRRequest

java.lang.Object
com.liferay.portal.search.engine.adapter.ccr.CrossClusterRequest
com.liferay.portal.search.engine.adapter.ccr.PutFollowCCRRequest
All Implemented Interfaces:
CCRRequest<PutFollowCCRResponse>

public class PutFollowCCRRequest extends CrossClusterRequest implements CCRRequest<PutFollowCCRResponse>
  • Constructor Details

    • PutFollowCCRRequest

      public PutFollowCCRRequest(String remoteClusterAlias, String leaderIndexName, String followerIndexName)
  • Method Details

    • accept

      public PutFollowCCRResponse accept(CCRRequestExecutor ccrRequestExecutor)
      Specified by:
      accept in interface CCRRequest<PutFollowCCRResponse>
    • getFollowerIndexName

      public String getFollowerIndexName()
    • getLeaderIndexName

      public String getLeaderIndexName()
    • getRemoteClusterAlias

      public String getRemoteClusterAlias()
    • getWaitForActiveShards

      public int getWaitForActiveShards()
    • setWaitForActiveShards

      public void setWaitForActiveShards(int waitForActiveShards)