Package org.eclipse.jetty.util.thread
Interface Sweeper.Sweepable
-
- All Known Implementing Classes:
AbstractConnectionPool
,DuplexConnectionPool
,HttpConnectionOverHTTP
,HttpConnectionOverHTTP2
,HttpDestination
,HttpDestinationOverFCGI
,HttpDestinationOverHTTP
,HttpDestinationOverHTTP2
,LeakTrackingConnectionPool
,MultiplexConnectionPool
,MultiplexHttpDestination
,MultiplexHttpDestinationOverFCGI
,PoolingHttpDestination
,RandomConnectionPool
,RoundRobinConnectionPool
,ValidatingConnectionPool
- Enclosing class:
- Sweeper
public static interface Sweeper.Sweepable
A
Sweeper.Sweepable
resource implements this interface to signal to aSweeper
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
sweep()
-