public class InternalIndicesLifecycle extends AbstractComponent implements IndicesLifecycle
IndicesLifecycle.Listener
componentSettings, logger, settings
Constructor and Description |
---|
InternalIndicesLifecycle(Settings settings) |
nodeName
public void addListener(IndicesLifecycle.Listener listener)
IndicesLifecycle
addListener
in interface IndicesLifecycle
public void removeListener(IndicesLifecycle.Listener listener)
IndicesLifecycle
removeListener
in interface IndicesLifecycle
public void shardRoutingChanged(IndexShard indexShard, @Nullable ShardRouting oldRouting, ShardRouting newRouting)
public void beforeIndexAddedToCluster(Index index, @IndexSettings Settings indexSettings)
public void beforeIndexCreated(Index index, @IndexSettings Settings indexSettings)
public void afterIndexCreated(IndexService indexService)
public void beforeIndexShardCreated(ShardId shardId, @IndexSettings Settings indexSettings)
public void afterIndexShardCreated(IndexShard indexShard)
public void afterIndexShardPostRecovery(IndexShard indexShard)
public void afterIndexShardStarted(IndexShard indexShard)
public void beforeIndexClosed(IndexService indexService)
public void beforeIndexDeleted(IndexService indexService)
public void afterIndexDeleted(Index index, @IndexSettings Settings indexSettings)
public void afterIndexClosed(Index index, @IndexSettings Settings indexSettings)
public void beforeIndexShardClosed(ShardId shardId, @Nullable IndexShard indexShard, @IndexSettings Settings indexSettings)
public void afterIndexShardClosed(ShardId shardId, @Nullable IndexShard indexShard, @IndexSettings Settings indexSettings)
public void beforeIndexShardDeleted(ShardId shardId, @IndexSettings Settings indexSettings)
public void afterIndexShardDeleted(ShardId shardId, @IndexSettings Settings indexSettings)
public void indexShardStateChanged(IndexShard indexShard, @Nullable IndexShardState previousState, @Nullable String reason)
Copyright © 2009–2015. All rights reserved.