public class InternalIndicesLifecycle extends AbstractComponent implements IndicesLifecycle
IndicesLifecycle.Listener
deprecationLogger, logger, settings
Constructor and Description |
---|
InternalIndicesLifecycle(Settings settings) |
logDeprecatedSetting, logRemovedSetting, 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, Settings indexSettings)
public void afterIndexCreated(IndexService indexService)
public void beforeIndexShardCreated(ShardId shardId, Settings indexSettings)
public void afterIndexShardCreated(IndexShard indexShard)
public void beforeIndexShardPostRecovery(IndexShard indexShard)
public void afterIndexShardPostRecovery(IndexShard indexShard)
public void afterIndexShardStarted(IndexShard indexShard)
public void beforeIndexClosed(IndexService indexService)
public void beforeIndexDeleted(IndexService indexService)
public void beforeIndexShardClosed(ShardId shardId, @Nullable IndexShard indexShard, Settings indexSettings)
public void afterIndexShardClosed(ShardId shardId, @Nullable IndexShard indexShard, Settings indexSettings)
public void beforeIndexShardDeleted(ShardId shardId, Settings indexSettings)
public void indexShardStateChanged(IndexShard indexShard, @Nullable IndexShardState previousState, @Nullable String reason)
public void onShardInactive(IndexShard indexShard)
Copyright © 2009–2016. All rights reserved.