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

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

public class IndexStatus
extends Object
implements Iterable<IndexShardStatus>


Method Summary
 DocsStatus docs()
           
 FlushStats flushStats()
           
 DocsStatus getDocs()
           
 FlushStats getFlushStats()
           
 String getIndex()
           
 MergeStats getMergeStats()
          Total merges of this index.
 ByteSizeValue getPrimaryStoreSize()
          Returns only the primary shards store size in bytes.
 RefreshStats getRefreshStats()
           
 Map<Integer,IndexShardStatus> getShards()
           
 ByteSizeValue getStoreSize()
          Returns the full store size in bytes, of both primaries and replicas.
 long getTranslogOperations()
           
 String index()
           
 Iterator<IndexShardStatus> iterator()
           
 MergeStats mergeStats()
          Total merges of this index.
 ByteSizeValue primaryStoreSize()
          Returns only the primary shards store size in bytes.
 RefreshStats refreshStats()
           
 Map<Integer,IndexShardStatus> shards()
          A shard id to index shard status map (note, index shard status is the replication shard group that maps to the shard id).
 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

index

public String index()

getIndex

public String getIndex()

shards

public Map<Integer,IndexShardStatus> shards()
A shard id to index shard status map (note, index shard status is the replication shard group that maps to the shard id).


getShards

public Map<Integer,IndexShardStatus> getShards()

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 index.


getMergeStats

public MergeStats getMergeStats()
Total merges of this index.


refreshStats

public RefreshStats refreshStats()

getRefreshStats

public RefreshStats getRefreshStats()

flushStats

public FlushStats flushStats()

getFlushStats

public FlushStats getFlushStats()

iterator

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


Copyright © 2009-2012. All Rights Reserved.