Module org.elasticsearch.xcore
Class ShardFollowTask
java.lang.Object
org.elasticsearch.xpack.core.ccr.action.ImmutableFollowParameters
org.elasticsearch.xpack.core.ccr.action.ShardFollowTask
- All Implemented Interfaces:
NamedWriteable,VersionedNamedWriteable,Writeable,PersistentTaskParams,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionShardFollowTask(String remoteCluster, ShardId followShardId, ShardId leaderShardId, int maxReadRequestOperationCount, int maxWriteRequestOperationCount, int maxOutstandingReadRequests, int maxOutstandingWriteRequests, ByteSizeValue maxReadRequestSize, ByteSizeValue maxWriteRequestSize, int maxWriteBufferCount, ByteSizeValue maxWriteBufferSize, org.elasticsearch.core.TimeValue maxRetryDelay, org.elasticsearch.core.TimeValue readPollTimeout, Map<String, String> headers) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ShardFollowTaskfromXContent(org.elasticsearch.xcontent.XContentParser parser) inthashCode()static ShardFollowTaskreadFrom(StreamInput in) toString()org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class org.elasticsearch.xpack.core.ccr.action.ImmutableFollowParameters
getMaxOutstandingReadRequests, getMaxOutstandingWriteRequests, getMaxReadRequestOperationCount, getMaxReadRequestSize, getMaxRetryDelay, getMaxWriteBufferCount, getMaxWriteBufferSize, getMaxWriteRequestOperationCount, getMaxWriteRequestSize, getReadPollTimeout, initParser, toXContentFragmentMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
ShardFollowTask
public ShardFollowTask(String remoteCluster, ShardId followShardId, ShardId leaderShardId, int maxReadRequestOperationCount, int maxWriteRequestOperationCount, int maxOutstandingReadRequests, int maxOutstandingWriteRequests, ByteSizeValue maxReadRequestSize, ByteSizeValue maxWriteRequestSize, int maxWriteBufferCount, ByteSizeValue maxWriteBufferSize, org.elasticsearch.core.TimeValue maxRetryDelay, org.elasticsearch.core.TimeValue readPollTimeout, Map<String, String> headers)
-
-
Method Details
-
readFrom
- Throws:
IOException
-
getRemoteCluster
-
getFollowShardId
-
getLeaderShardId
-
getHeaders
-
getWriteableName
- Specified by:
getWriteableNamein interfaceNamedWriteable- Specified by:
getWriteableNamein interfaceVersionedNamedWriteable
-
writeTo
- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classImmutableFollowParameters- Throws:
IOException
-
fromXContent
-
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceorg.elasticsearch.xcontent.ToXContent- Throws:
IOException
-
equals
- Overrides:
equalsin classImmutableFollowParameters
-
hashCode
public int hashCode()- Overrides:
hashCodein classImmutableFollowParameters
-
toString
-
getMinimalSupportedVersion
- Specified by:
getMinimalSupportedVersionin interfaceVersionedNamedWriteable
-