Module org.elasticsearch.xcore
Class ImmutableFollowParameters
java.lang.Object
org.elasticsearch.xpack.core.ccr.action.ImmutableFollowParameters
- All Implemented Interfaces:
Writeable
- Direct Known Subclasses:
AutoFollowMetadata.AutoFollowPattern,ShardFollowTask
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Constructor Summary
ConstructorsConstructorDescriptionImmutableFollowParameters(Integer maxReadRequestOperationCount, Integer maxWriteRequestOperationCount, Integer maxOutstandingReadRequests, Integer maxOutstandingWriteRequests, ByteSizeValue maxReadRequestSize, ByteSizeValue maxWriteRequestSize, Integer maxWriteBufferCount, ByteSizeValue maxWriteBufferSize, TimeValue maxRetryDelay, TimeValue readPollTimeout) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()static <P extends ImmutableFollowParameters>
voidinitParser(ConstructingObjectParser<P, ?> parser) protected XContentBuildertoXContentFragment(XContentBuilder builder) voidwriteTo(StreamOutput out)
-
Constructor Details
-
ImmutableFollowParameters
public ImmutableFollowParameters(Integer maxReadRequestOperationCount, Integer maxWriteRequestOperationCount, Integer maxOutstandingReadRequests, Integer maxOutstandingWriteRequests, ByteSizeValue maxReadRequestSize, ByteSizeValue maxWriteRequestSize, Integer maxWriteBufferCount, ByteSizeValue maxWriteBufferSize, TimeValue maxRetryDelay, TimeValue readPollTimeout) -
ImmutableFollowParameters
- Throws:
IOException
-
-
Method Details
-
getMaxReadRequestOperationCount
-
getMaxReadRequestSize
-
getMaxOutstandingReadRequests
-
getMaxWriteRequestOperationCount
-
getMaxWriteRequestSize
-
getMaxOutstandingWriteRequests
-
getMaxWriteBufferCount
-
getMaxWriteBufferSize
-
getMaxRetryDelay
-
getReadPollTimeout
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
toXContentFragment
- Throws:
IOException
-
initParser
public static <P extends ImmutableFollowParameters> void initParser(ConstructingObjectParser<P, ?> parser) -
equals
-
hashCode
public int hashCode()
-