org.apache.hc.core5.pool

## Interface DisposalCallback<T extends ModalCloseable>

- Type Parameters:
    `T` - process or connection type.
  All Known Implementing Classes:
    DefaultDisposalCallback

      @Internal
      public interface DisposalCallback<T extends ModalCloseable>

  Represents a customizable disposal strategy for `ModalCloseable` instances.
  Since:
    5.0

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `execute(T closeable, CloseMode closeMode)`

- - ### Method Detail

    - #### execute

          void execute(T closeable,
                     CloseMode closeMode)

Copyright © 2005–2020 The Apache Software Foundation. All rights reserved.