org.elasticsearch.action.admin.indices.status
Class IndexShardStatus

java.lang.Object
  extended by org.elasticsearch.action.admin.indices.status.IndexShardStatus
All Implemented Interfaces:
Iterable<ShardStatus>

public class IndexShardStatus
extends Object
implements Iterable<ShardStatus>


Method Summary
 DocsStatus docs()
           
 FlushStats flushStats()
           
 ShardStatus getAt(int position)
           
 DocsStatus getDocs()
           
 FlushStats getFlushStats()
           
 MergeStats getMergeStats()
          Total merges of this shard replication group.
 ByteSizeValue getPrimaryStoreSize()
          Returns only the primary shards store size in bytes.
 RefreshStats getRefreshStats()
           
 ShardId getShardId()
           
 ShardStatus[] getShards()
           
 ByteSizeValue getStoreSize()
          Returns the full store size in bytes, of both primaries and replicas.
 long getTranslogOperations()
           
 Iterator<ShardStatus> iterator()
           
 MergeStats mergeStats()
          Total merges of this shard replication group.
 ByteSizeValue primaryStoreSize()
          Returns only the primary shards store size in bytes.
 RefreshStats refreshStats()
           
 ShardId shardId()
           
 ShardStatus[] shards()
           
 ByteSizeValue storeSize()
          Returns the full store size in bytes, of both primaries and replicas.
 long translogOperations()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

shardId

public ShardId shardId()

getShardId

public ShardId getShardId()

shards

public ShardStatus[] shards()

getShards

public ShardStatus[] getShards()

getAt

public ShardStatus getAt(int position)

primaryStoreSize

public ByteSizeValue primaryStoreSize()
Returns only the primary shards store size in bytes.


getPrimaryStoreSize

public ByteSizeValue getPrimaryStoreSize()
Returns only the primary shards store size in bytes.


storeSize

public ByteSizeValue storeSize()
Returns the full store size in bytes, of both primaries and replicas.


getStoreSize

public ByteSizeValue getStoreSize()
Returns the full store size in bytes, of both primaries and replicas.


translogOperations

public long translogOperations()

getTranslogOperations

public long getTranslogOperations()

docs

public DocsStatus docs()

getDocs

public DocsStatus getDocs()

mergeStats

public MergeStats mergeStats()
Total merges of this shard replication group.


getMergeStats

public MergeStats getMergeStats()
Total merges of this shard replication group.


refreshStats

public RefreshStats refreshStats()

getRefreshStats

public RefreshStats getRefreshStats()

flushStats

public FlushStats flushStats()

getFlushStats

public FlushStats getFlushStats()

iterator

public Iterator<ShardStatus> iterator()
Specified by:
iterator in interface Iterable<ShardStatus>


Copyright © 2009-2012. All Rights Reserved.