Module org.elasticsearch.xcore
Package org.elasticsearch.xpack.core.ccr
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
-
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
ConstructorsConstructorDescriptionShardFollowNodeTaskStatus(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) -
Method Summary
Modifier and TypeMethodDescriptionlongbooleanlonglonglonglonglonglonglongstatic ShardFollowNodeTaskStatusfromXContent(org.elasticsearch.xcontent.XContentParser parser) intinthashCode()longlonglonglonglongintintNavigableMap<Long, org.elasticsearch.core.Tuple<Integer, ElasticsearchException>> longlonglongtoString()longlonglongorg.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) org.elasticsearch.xcontent.XContentBuildertoXContentFragment(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) intlongvoidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
STATUS_PARSER_NAME
- See Also:
-
READ_EXCEPTIONS_ENTRY_PARSER_NAME
- See Also:
-
-
Constructor Details
-
ShardFollowNodeTaskStatus
- Throws:
IOException
-
Method Details
-
getRemoteCluster
-
leaderIndex
-
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, readExceptions()ElasticsearchException>> -
timeSinceLastReadMillis
public long timeSinceLastReadMillis() -
getFatalException
-
getWriteableName
- Specified by:
getWriteableNamein interfaceNamedWriteable
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
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
-
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
-
hashCode
public int hashCode() -
toString
-