org.elasticsearch.action.admin.indices.status
Class ShardStatus
java.lang.Object
org.elasticsearch.action.support.broadcast.BroadcastShardOperationResponse
org.elasticsearch.action.admin.indices.status.ShardStatus
- All Implemented Interfaces:
- Streamable
public class ShardStatus
- extends BroadcastShardOperationResponse
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
shardRouting
public ShardRouting shardRouting()
state
public IndexShardState state()
storeSize
public SizeValue storeSize()
estimatedFlushableMemorySize
public SizeValue estimatedFlushableMemorySize()
translogId
public long translogId()
translogOperations
public long translogOperations()
docs
public ShardStatus.Docs docs()
readIndexShardStatus
public static ShardStatus readIndexShardStatus(StreamInput in)
throws java.io.IOException
- Throws:
java.io.IOException
writeTo
public void writeTo(StreamOutput out)
throws java.io.IOException
- Specified by:
writeTo
in interface Streamable
- Overrides:
writeTo
in class BroadcastShardOperationResponse
- Throws:
java.io.IOException
readFrom
public void readFrom(StreamInput in)
throws java.io.IOException
- Specified by:
readFrom
in interface Streamable
- Overrides:
readFrom
in class BroadcastShardOperationResponse
- Throws:
java.io.IOException