org.elasticsearch.indices
Interface IndicesLifecycle

All Known Implementing Classes:
InternalIndicesLifecycle

public interface IndicesLifecycle

A global component allowing to register for lifecycle of an index (create/closed) and an index shard (created/closed).


Nested Class Summary
static class IndicesLifecycle.Listener
          A listener for index and index shard lifecycle events (create/closed).
 
Method Summary
 void addListener(IndicesLifecycle.Listener listener)
          Add a listener.
 void removeListener(IndicesLifecycle.Listener listener)
          Remove a listener.
 

Method Detail

addListener

void addListener(IndicesLifecycle.Listener listener)
Add a listener.


removeListener

void removeListener(IndicesLifecycle.Listener listener)
Remove a listener.



Copyright © 2009-2012. All Rights Reserved.