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
-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
Fields inherited from interface org.elasticsearch.client.Validatable
EMPTY
-
-
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
All Methods Instance Methods Concrete Methods 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()
XContentBuilder
toXContent(XContentBuilder builder, ToXContent.Params params)
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
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
Methods inherited from interface org.elasticsearch.client.Validatable
validate
-
-
-
-
Constructor Detail
-
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 Detail
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
- Specified by:
toXContent
in interfaceToXContent
- Throws:
java.io.IOException
-
getRemoteCluster
public java.lang.String getRemoteCluster()
-
getLeaderIndex
public java.lang.String getLeaderIndex()
-
getFollowerIndex
public java.lang.String getFollowerIndex()
-
waitForActiveShards
public ActiveShardCount waitForActiveShards()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classFollowConfig
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classFollowConfig
-
-