org.elasticsearch.indices
Class InternalIndicesLifecycle
java.lang.Object
org.elasticsearch.common.component.AbstractComponent
org.elasticsearch.indices.InternalIndicesLifecycle
- All Implemented Interfaces:
- IndicesLifecycle
public class InternalIndicesLifecycle
- extends AbstractComponent
- implements IndicesLifecycle
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InternalIndicesLifecycle
@Inject
public InternalIndicesLifecycle(Settings settings)
addListener
public void addListener(IndicesLifecycle.Listener listener)
- Description copied from interface:
IndicesLifecycle
- Add a listener.
- Specified by:
addListener
in interface IndicesLifecycle
removeListener
public void removeListener(IndicesLifecycle.Listener listener)
- Description copied from interface:
IndicesLifecycle
- Remove a listener.
- Specified by:
removeListener
in interface IndicesLifecycle
beforeIndexCreated
public void beforeIndexCreated(Index index)
afterIndexCreated
public void afterIndexCreated(IndexService indexService)
beforeIndexShardCreated
public void beforeIndexShardCreated(ShardId shardId)
afterIndexShardCreated
public void afterIndexShardCreated(IndexShard indexShard)
afterIndexShardStarted
public void afterIndexShardStarted(IndexShard indexShard)
beforeIndexClosed
public void beforeIndexClosed(IndexService indexService,
boolean delete)
afterIndexClosed
public void afterIndexClosed(Index index,
boolean delete)
beforeIndexShardClosed
public void beforeIndexShardClosed(ShardId shardId,
@Nullable
IndexShard indexShard,
boolean delete)
afterIndexShardClosed
public void afterIndexShardClosed(ShardId shardId,
boolean delete)