Package org.apache.solr.cluster.events
Interface ClusterEventListener
-
- All Superinterfaces:
AutoCloseable,Closeable
- All Known Implementing Classes:
CollectionsRepairEventListener
public interface ClusterEventListener extends Closeable
Components that want to be notified of cluster-wide events should use this.XXX should this work only for ClusterSingleton-s? some types of events may be XXX difficult (or pointless) to propagate to every node.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonEvent(ClusterEvent event)Handle the event.
-
-
-
Method Detail
-
onEvent
void onEvent(ClusterEvent event)
Handle the event. Implementations should be non-blocking - if any long processing is needed it should be performed asynchronously.- Parameters:
event- cluster event
-
-