public class PutFollowCCRRequest extends CrossClusterRequest implements CCRRequest<PutFollowCCRResponse>
Constructor and Description |
---|
PutFollowCCRRequest(java.lang.String remoteClusterAlias,
java.lang.String leaderIndexName,
java.lang.String followerIndexName) |
Modifier and Type | Method and Description |
---|---|
PutFollowCCRResponse |
accept(CCRRequestExecutor ccrRequestExecutor) |
java.lang.String |
getFollowerIndexName() |
java.lang.String |
getLeaderIndexName() |
java.lang.String |
getRemoteClusterAlias() |
int |
getWaitForActiveShards() |
void |
setWaitForActiveShards(int waitForActiveShards) |
getConnectionId, isPreferLocalCluster, setConnectionId, setPreferLocalCluster
public PutFollowCCRRequest(java.lang.String remoteClusterAlias, java.lang.String leaderIndexName, java.lang.String followerIndexName)
public PutFollowCCRResponse accept(CCRRequestExecutor ccrRequestExecutor)
accept
in interface CCRRequest<PutFollowCCRResponse>
public java.lang.String getFollowerIndexName()
public java.lang.String getLeaderIndexName()
public java.lang.String getRemoteClusterAlias()
public int getWaitForActiveShards()
public void setWaitForActiveShards(int waitForActiveShards)