org.elasticsearch.action.admin.indices.stats
Class ShardStats
java.lang.Object
org.elasticsearch.action.support.broadcast.BroadcastShardOperationResponse
org.elasticsearch.action.admin.indices.stats.ShardStats
- All Implemented Interfaces:
- Streamable
public class ShardStats
- extends BroadcastShardOperationResponse
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
shardRouting
public ShardRouting shardRouting()
- The shard routing information (cluster wide shard state).
getShardRouting
public ShardRouting getShardRouting()
- The shard routing information (cluster wide shard state).
stats
public CommonStats stats()
getStats
public CommonStats getStats()
readShardStats
public static ShardStats readShardStats(StreamInput in)
throws IOException
- Throws:
IOException
readFrom
public void readFrom(StreamInput in)
throws IOException
- Specified by:
readFrom
in interface Streamable
- Overrides:
readFrom
in class BroadcastShardOperationResponse
- Throws:
IOException
writeTo
public void writeTo(StreamOutput out)
throws IOException
- Specified by:
writeTo
in interface Streamable
- Overrides:
writeTo
in class BroadcastShardOperationResponse
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.