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 context,
AppenderFactory<E> appenderFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected Appender<E> |
buildComponent(String key)
Build a component based on the key.
|
protected boolean |
isComponentStale(Appender<E> appender)
Components can declare themselves stale.
|
protected void |
processPriorToRemoval(Appender<E> component)
Stop or clean the component.
|
allComponents, allKeys, endOfLife, find, getComponentCount, getMaxComponents, getOrCreate, getTimeout, removeStaleComponents, setMaxComponents, setTimeoutpublic AppenderTracker(Context context, AppenderFactory<E> appenderFactory)
protected void processPriorToRemoval(Appender<E> component)
AbstractComponentTrackerprocessPriorToRemoval in class AbstractComponentTracker<Appender<E>>protected Appender<E> buildComponent(String key)
AbstractComponentTrackerbuildComponent in class AbstractComponentTracker<Appender<E>>protected boolean isComponentStale(Appender<E> appender)
AbstractComponentTrackerisComponentStale in class AbstractComponentTracker<Appender<E>>Copyright © 2005–2014 QOS.ch. All rights reserved.