public class AppenderTracker<E> extends AbstractComponentTracker<Appender <E>>
ComponentTracker.DEFAULT_TIMEOUT it is stopped and removed.
LINGERING_TIMEOUT, maxComponents, timeout, WAIT_BETWEEN_SUCCESSIVE_REMOVAL_ITERATIONSDEFAULT_MAX_COMPONENTS, DEFAULT_TIMEOUT| Constructor and Description |
|---|
AppenderTracker(Context
|
| Modifier and Type | Method and Description |
|---|---|
protected Appender |
buildComponent(String
Build a component based on the key.
|
protected boolean |
isComponentStale(Appender
Components can declare themselves stale.
|
protected void |
processPriorToRemoval(Appender
Stop or clean the component.
|
allComponents, allKeys, endOfLife, find, getComponentCount, getMaxComponents, getOrCreate, getTimeout, removeStaleComponents, setMaxComponents, setTimeoutpublic AppenderTracker(Contextcontext, AppenderFactory <E> appenderFactory)
protected void processPriorToRemoval(Appender<E> component)
AbstractComponentTracker
protected Appender<E> buildComponent(String key)
AbstractComponentTracker
buildComponent in class
AbstractComponentTracker<Appender<E>>
protected boolean isComponentStale(Appender<E> appender)
AbstractComponentTracker
isComponentStale in class
AbstractComponentTracker<Appender<E>>