Interface MetadataEventSynchronizer


public interface MetadataEventSynchronizer
Metadata synchronizer to notify and synchronize metadata change events.
  • Method Details

    • notify

      Notify metadata change event.
      Parameters:
      event - metadata change event.
      Returns:
    • registerSyncListener

      void registerSyncListener(Function<MetadataEvent,CompletableFuture<Void>> event)
      Register notification listener to sync metadata event in local cluster.
      Parameters:
      event -
    • getClusterName

      String getClusterName()
      Name of current cluster served by the Synchronizer.
      Returns:
      clusterName
    • close

      void close()
      close synchronizer resources.