Interface IndicesClusterStateService.AllocatedIndex<T extends IndicesClusterStateService.Shard>

    • 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 through getIndexSettings()
      • updateMapping

        boolean updateMapping​(IndexMetaData indexMetaData)
                       throws java.io.IOException
        Checks if index requires refresh from master.
        Throws:
        java.io.IOException
      • getShardOrNull

        @Nullable
        T getShardOrNull​(int shardId)
        Returns shard with given id.
      • removeShard

        void removeShard​(int shardId,
                         java.lang.String message)
        Removes shard with given id.