Class ShardFollowNodeTaskStatus

java.lang.Object
org.elasticsearch.xpack.core.ccr.ShardFollowNodeTaskStatus
All Implemented Interfaces:
NamedWriteable, Writeable, Task.Status, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject

public class ShardFollowNodeTaskStatus extends Object implements Task.Status
  • Field Details

  • Constructor Details

    • ShardFollowNodeTaskStatus

      public ShardFollowNodeTaskStatus(String remoteCluster, String leaderIndex, String followerIndex, int shardId, long leaderGlobalCheckpoint, long leaderMaxSeqNo, long followerGlobalCheckpoint, long followerMaxSeqNo, long lastRequestedSeqNo, int outstandingReadRequests, int outstandingWriteRequests, int writeBufferOperationCount, long writeBufferSizeInBytes, long followerMappingVersion, long followerSettingsVersion, long followerAliasesVersion, long totalReadTimeMillis, long totalReadRemoteExecTimeMillis, long successfulReadRequests, long failedReadRequests, long operationsReads, long bytesRead, long totalWriteTimeMillis, long successfulWriteRequests, long failedWriteRequests, long operationWritten, NavigableMap<Long,org.elasticsearch.core.Tuple<Integer,ElasticsearchException>> readExceptions, long timeSinceLastReadMillis, ElasticsearchException fatalException)
    • ShardFollowNodeTaskStatus

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

    • getRemoteCluster

      public String getRemoteCluster()
    • leaderIndex

      public String leaderIndex()
    • followerIndex

      public String followerIndex()
    • getShardId

      public int getShardId()
    • leaderGlobalCheckpoint

      public long leaderGlobalCheckpoint()
    • leaderMaxSeqNo

      public long leaderMaxSeqNo()
    • followerGlobalCheckpoint

      public long followerGlobalCheckpoint()
    • followerMaxSeqNo

      public long followerMaxSeqNo()
    • lastRequestedSeqNo

      public long lastRequestedSeqNo()
    • outstandingReadRequests

      public int outstandingReadRequests()
    • outstandingWriteRequests

      public int outstandingWriteRequests()
    • writeBufferOperationCount

      public int writeBufferOperationCount()
    • writeBufferSizeInBytes

      public long writeBufferSizeInBytes()
    • followerMappingVersion

      public long followerMappingVersion()
    • followerSettingsVersion

      public long followerSettingsVersion()
    • followerAliasesVersion

      public long followerAliasesVersion()
    • totalReadTimeMillis

      public long totalReadTimeMillis()
    • totalReadRemoteExecTimeMillis

      public long totalReadRemoteExecTimeMillis()
    • successfulReadRequests

      public long successfulReadRequests()
    • failedReadRequests

      public long failedReadRequests()
    • operationsReads

      public long operationsReads()
    • bytesRead

      public long bytesRead()
    • totalWriteTimeMillis

      public long totalWriteTimeMillis()
    • successfulWriteRequests

      public long successfulWriteRequests()
    • failedWriteRequests

      public long failedWriteRequests()
    • operationWritten

      public long operationWritten()
    • readExceptions

      public NavigableMap<Long,org.elasticsearch.core.Tuple<Integer,ElasticsearchException>> readExceptions()
    • timeSinceLastReadMillis

      public long timeSinceLastReadMillis()
    • getFatalException

      public ElasticsearchException getFatalException()
    • getWriteableName

      public String getWriteableName()
      Specified by:
      getWriteableName in interface NamedWriteable
    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Specified by:
      writeTo in interface Writeable
      Throws:
      IOException
    • toXContent

      public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.xcontent.ToXContent
      Throws:
      IOException
    • toXContentFragment

      public org.elasticsearch.xcontent.XContentBuilder toXContentFragment(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException
      Throws:
      IOException
    • fromXContent

      public static ShardFollowNodeTaskStatus fromXContent(org.elasticsearch.xcontent.XContentParser parser)
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object