org.elasticsearch.action.admin.indices.stats
Class ShardStats

java.lang.Object
  extended by org.elasticsearch.action.support.broadcast.BroadcastShardOperationResponse
      extended by org.elasticsearch.action.admin.indices.stats.ShardStats
All Implemented Interfaces:
Streamable

public class ShardStats
extends BroadcastShardOperationResponse


Method Summary
 ShardRouting getShardRouting()
          The shard routing information (cluster wide shard state).
 CommonStats getStats()
           
 void readFrom(StreamInput in)
           
static ShardStats readShardStats(StreamInput in)
           
 ShardRouting shardRouting()
          The shard routing information (cluster wide shard state).
 CommonStats stats()
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class org.elasticsearch.action.support.broadcast.BroadcastShardOperationResponse
getIndex, getShardId, index, shardId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.