Interface DrillbitStatusListener
- All Known Implementing Classes:
ZKRegistry
public interface DrillbitStatusListener
Interface to define the listener to take actions when the set of active drillbits is changed.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
drillbitRegistered
(Set<CoordinationProtos.DrillbitEndpoint> registeredDrillbits) The action to taken when a set of new drillbits are registered to the cluster.void
drillbitUnregistered
(Set<CoordinationProtos.DrillbitEndpoint> unregisteredDrillbits) The action to taken when a set of drillbits are unregistered from the cluster.
-
Method Details
-
drillbitUnregistered
The action to taken when a set of drillbits are unregistered from the cluster.- Parameters:
unregisteredDrillbits
- the set of newly unregistered drillbits.
-
drillbitRegistered
The action to taken when a set of new drillbits are registered to the cluster.- Parameters:
registeredDrillbits
- the set of newly registered drillbits. Note: the complete set of currently registered bits could be different.
-