Interface IndicesClusterStateService.AllocatedIndex<T extends IndicesClusterStateService.Shard>
-
- All Superinterfaces:
IndexComponent
,java.lang.Iterable<T>
- All Known Implementing Classes:
IndexService
- Enclosing class:
- IndicesClusterStateService
public static interface IndicesClusterStateService.AllocatedIndex<T extends IndicesClusterStateService.Shard> extends java.lang.Iterable<T>, IndexComponent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.-
Methods inherited from interface org.elasticsearch.index.IndexComponent
index
-
-
-
-
Method Detail
-
getIndexSettings
IndexSettings getIndexSettings()
Returns the index settings of this index.
-
updateMetaData
void updateMetaData(IndexMetaData indexMetaData)
Updates the meta data of this index. Changes become visible throughgetIndexSettings()
-
updateMapping
boolean updateMapping(IndexMetaData indexMetaData) throws java.io.IOException
Checks if index requires refresh from master.- Throws:
java.io.IOException
-
removeShard
void removeShard(int shardId, java.lang.String message)
Removes shard with given id.
-
-