public static interface IndicesClusterStateService.AllocatedIndex<T extends IndicesClusterStateService.Shard> extends java.lang.Iterable<T>, IndexComponent
| Modifier and Type | Method and Description |
|---|---|
IndexSettings |
getIndexSettings()
Returns the index settings of this index.
|
T |
getShardOrNull(int shardId)
Returns shard with given id.
|
void |
removeShard(int shardId,
java.lang.String message)
Removes shard with given id.
|
boolean |
updateMapping(IndexMetaData indexMetaData)
Checks if index requires refresh from master.
|
void |
updateMetaData(IndexMetaData indexMetaData)
Updates the meta data of this index.
|
indexIndexSettings getIndexSettings()
void updateMetaData(IndexMetaData indexMetaData)
getIndexSettings()boolean updateMapping(IndexMetaData indexMetaData) throws java.io.IOException
java.io.IOExceptionvoid removeShard(int shardId,
java.lang.String message)