Package org.elasticsearch.client.ccr
Class PutFollowRequest
java.lang.Object
org.elasticsearch.client.ccr.FollowConfig
org.elasticsearch.client.ccr.PutFollowRequest
- All Implemented Interfaces:
Validatable
,org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentObject
public final class PutFollowRequest extends FollowConfig implements Validatable, org.elasticsearch.common.xcontent.ToXContentObject
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PutFollowRequest(java.lang.String remoteCluster, java.lang.String leaderIndex, java.lang.String followerIndex)
PutFollowRequest(java.lang.String remoteCluster, java.lang.String leaderIndex, java.lang.String followerIndex, org.elasticsearch.action.support.ActiveShardCount waitForActiveShards)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getFollowerIndex()
java.lang.String
getLeaderIndex()
java.lang.String
getRemoteCluster()
int
hashCode()
org.elasticsearch.common.xcontent.XContentBuilder
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)
org.elasticsearch.action.support.ActiveShardCount
waitForActiveShards()
Methods inherited from class org.elasticsearch.client.ccr.FollowConfig
getMaxOutstandingReadRequests, getMaxOutstandingWriteRequests, getMaxReadRequestOperationCount, getMaxReadRequestSize, getMaxRetryDelay, getMaxWriteBufferCount, getMaxWriteBufferSize, getMaxWriteRequestOperationCount, getMaxWriteRequestSize, getReadPollTimeout, setMaxOutstandingReadRequests, setMaxOutstandingWriteRequests, setMaxReadRequestOperationCount, setMaxReadRequestSize, setMaxRetryDelay, setMaxWriteBufferCount, setMaxWriteBufferSize, setMaxWriteRequestOperationCount, setMaxWriteRequestSize, setReadPollTimeout
-
Constructor Details
-
PutFollowRequest
public PutFollowRequest(java.lang.String remoteCluster, java.lang.String leaderIndex, java.lang.String followerIndex) -
PutFollowRequest
public PutFollowRequest(java.lang.String remoteCluster, java.lang.String leaderIndex, java.lang.String followerIndex, org.elasticsearch.action.support.ActiveShardCount waitForActiveShards)
-
-
Method Details
-
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException- Specified by:
toXContent
in interfaceorg.elasticsearch.common.xcontent.ToXContent
- Throws:
java.io.IOException
-
getRemoteCluster
public java.lang.String getRemoteCluster() -
getLeaderIndex
public java.lang.String getLeaderIndex() -
getFollowerIndex
public java.lang.String getFollowerIndex() -
waitForActiveShards
public org.elasticsearch.action.support.ActiveShardCount waitForActiveShards() -
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classFollowConfig
-
hashCode
public int hashCode()- Overrides:
hashCode
in classFollowConfig
-