Interface ConnectionLifecycleManager.DisconnectionSupplier

Enclosing class:
ConnectionLifecycleManager
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 static interface ConnectionLifecycleManager.DisconnectionSupplier
Functional interface for disconnection operations.
  • Method Summary

    Modifier and Type
    Method
    Description
    Performs the disconnection operation.
  • Method Details

    • disconnect

      CompletionStage<Void> disconnect()
      Performs the disconnection operation.
      Returns:
      completion stage that completes when disconnected