Interface UpgradeCommitListener

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface UpgradeCommitListener
Listener that is notified when a rolling upgrade is committed.

Components that need to enable version-gated features after the rolling upgrade commits should register an implementation of this listener via RollingUpgradeManager.registerCommitListener(UpgradeCommitListener).

  • Method Details

    • onUpgradeCommitted

      CompletableFuture<Void> onUpgradeCommitted(String committedVersion)
      Called when the rolling upgrade is committed.
      Parameters:
      committedVersion - The version that the cluster has been upgraded to.
      Returns:
      A future that completes when the listener has finished processing the commit event.