Class ImmutableFollowParameters

java.lang.Object
org.elasticsearch.xpack.core.ccr.action.ImmutableFollowParameters
All Implemented Interfaces:
Writeable
Direct Known Subclasses:
AutoFollowMetadata.AutoFollowPattern, ShardFollowTask

public class ImmutableFollowParameters extends Object implements Writeable
  • 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

      public ImmutableFollowParameters(StreamInput in) throws IOException
      Throws:
      IOException
  • Method Details

    • getMaxReadRequestOperationCount

      public Integer getMaxReadRequestOperationCount()
    • getMaxReadRequestSize

      public ByteSizeValue getMaxReadRequestSize()
    • getMaxOutstandingReadRequests

      public Integer getMaxOutstandingReadRequests()
    • getMaxWriteRequestOperationCount

      public Integer getMaxWriteRequestOperationCount()
    • getMaxWriteRequestSize

      public ByteSizeValue getMaxWriteRequestSize()
    • getMaxOutstandingWriteRequests

      public Integer getMaxOutstandingWriteRequests()
    • getMaxWriteBufferCount

      public Integer getMaxWriteBufferCount()
    • getMaxWriteBufferSize

      public ByteSizeValue getMaxWriteBufferSize()
    • getMaxRetryDelay

      public org.elasticsearch.core.TimeValue getMaxRetryDelay()
    • getReadPollTimeout

      public org.elasticsearch.core.TimeValue getReadPollTimeout()
    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Specified by:
      writeTo in interface Writeable
      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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object