Interface Sweeper.Sweepable

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

public static interface Sweeper.Sweepable

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.