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, org.elasticsearch.core.TimeValue maxRetryDelay, org.elasticsearch.core.TimeValue readPollTimeout) -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.elasticsearch.core.TimeValueorg.elasticsearch.core.TimeValueinthashCode()static <P extends ImmutableFollowParameters>
voidinitParser(org.elasticsearch.xcontent.ConstructingObjectParser<P, ?> parser) protected org.elasticsearch.xcontent.XContentBuildertoXContentFragment(org.elasticsearch.xcontent.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, org.elasticsearch.core.TimeValue maxRetryDelay, org.elasticsearch.core.TimeValue readPollTimeout) -
ImmutableFollowParameters
- Throws:
IOException
-
-
Method Details
-
getMaxReadRequestOperationCount
-
getMaxReadRequestSize
-
getMaxOutstandingReadRequests
-
getMaxWriteRequestOperationCount
-
getMaxWriteRequestSize
-
getMaxOutstandingWriteRequests
-
getMaxWriteBufferCount
-
getMaxWriteBufferSize
-
getMaxRetryDelay
public org.elasticsearch.core.TimeValue getMaxRetryDelay() -
getReadPollTimeout
public org.elasticsearch.core.TimeValue getReadPollTimeout() -
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
toXContentFragment
protected org.elasticsearch.xcontent.XContentBuilder toXContentFragment(org.elasticsearch.xcontent.XContentBuilder builder) throws IOException - Throws:
IOException
-
initParser
public static <P extends ImmutableFollowParameters> void initParser(org.elasticsearch.xcontent.ConstructingObjectParser<P, ?> parser) -
equals
-
hashCode
public int hashCode()
-