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 booleanequals(java.lang.Object o)java.lang.StringgetFollowerIndex()java.lang.StringgetLeaderIndex()java.lang.StringgetRemoteCluster()inthashCode()org.elasticsearch.common.xcontent.XContentBuildertoXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)org.elasticsearch.action.support.ActiveShardCountwaitForActiveShards()Methods inherited from class org.elasticsearch.client.ccr.FollowConfig
getMaxOutstandingReadRequests, getMaxOutstandingWriteRequests, getMaxReadRequestOperationCount, getMaxReadRequestSize, getMaxRetryDelay, getMaxWriteBufferCount, getMaxWriteBufferSize, getMaxWriteRequestOperationCount, getMaxWriteRequestSize, getReadPollTimeout, getSettings, setMaxOutstandingReadRequests, setMaxOutstandingWriteRequests, setMaxReadRequestOperationCount, setMaxReadRequestSize, setMaxRetryDelay, setMaxWriteBufferCount, setMaxWriteBufferSize, setMaxWriteRequestOperationCount, setMaxWriteRequestSize, setReadPollTimeout, setSettings
-
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:
toXContentin 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:
equalsin classFollowConfig
-
hashCode
public int hashCode()- Overrides:
hashCodein classFollowConfig
-