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 Details

    • drillbitUnregistered

      void drillbitUnregistered(Set<CoordinationProtos.DrillbitEndpoint> unregisteredDrillbits)
      The action to taken when a set of drillbits are unregistered from the cluster.
      Parameters:
      unregisteredDrillbits - the set of newly unregistered drillbits.
    • drillbitRegistered

      void drillbitRegistered(Set<CoordinationProtos.DrillbitEndpoint> registeredDrillbits)
      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.