Interface ServiceDiscoveryChangeListener


public interface ServiceDiscoveryChangeListener
This interface defines the methods that a Service Discovery consumer should implement if it wishes to be notified of changes in the service.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invoked when the service discovery mechanism detected that the servers have changed.
  • Method Details

    • partitionsChanged

      void partitionsChanged(ServiceDiscoveryMechanism changedService)
      Invoked when the service discovery mechanism detected that the servers have changed. The changes may impact the partitions returned by this service discovery mechanism.
      Parameters:
      changedService - the service discovery mechanism that detected a change