Package org.elasticsearch.client.ccr
Class PutFollowRequest
java.lang.Object
org.elasticsearch.client.ccr.FollowConfig
org.elasticsearch.client.ccr.PutFollowRequest
- All Implemented Interfaces:
Validatable,ToXContent,ToXContentObject
public final class PutFollowRequest extends FollowConfig implements Validatable, ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params -
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, ActiveShardCount waitForActiveShards) -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetFollowerIndex()java.lang.StringgetLeaderIndex()java.lang.StringgetRemoteCluster()inthashCode()XContentBuildertoXContent(XContentBuilder builder, ToXContent.Params params)ActiveShardCountwaitForActiveShards()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, ActiveShardCount waitForActiveShards)
-
-
Method Details
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException- Specified by:
toXContentin interfaceToXContent- Throws:
java.io.IOException
-
getRemoteCluster
public java.lang.String getRemoteCluster() -
getLeaderIndex
public java.lang.String getLeaderIndex() -
getFollowerIndex
public java.lang.String getFollowerIndex() -
waitForActiveShards
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classFollowConfig
-
hashCode
public int hashCode()- Overrides:
hashCodein classFollowConfig
-