Interface Sweeper.Sweepable

All Known Implementing Classes:
AbstractConnectionPool, DuplexConnectionPool, HttpConnectionOverHTTP, HttpDestination, HttpDestinationOverHTTP, LeakTrackingConnectionPool, MultiplexConnectionPool, MultiplexHttpDestination, PoolingHttpDestination, RandomConnectionPool, RoundRobinConnectionPool, ValidatingConnectionPool
Enclosing class:
Sweeper

@Deprecated(since="2021-05-27") public static interface Sweeper.Sweepable
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.

A Sweeper.Sweepable resource implements this interface to signal to a Sweeper or to a parent container if it needs to be swept or not.

Typical implementations will check their own internal state and return true or false from sweep() to indicate whether they should be swept.

  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated.
     
  • Method Details

    • sweep

      boolean sweep()
      Deprecated.
      Returns:
      whether this resource should be swept