| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final int | |
| private int | |
| private FilterAttachableImpl | |
| private ThreadLocal | guard
The guard prevents an appender from repeatedly calling its own doAppend method. |
| protected String | name
Appenders are named. |
| protected boolean | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addFilter(Filter<E> newFilter)
Implements ch. |
| protected abstract void | |
| public void | |
| public void | doAppend(E eventObject)
Implements ch. |
| public List | getCopyOfAttachedFiltersList()
Implements ch. |
| public FilterReply | getFilterChainDecision(E event)
Implements ch. |
| public String | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public String |
| ALLOWED_REPEATS | back to summary |
|---|---|
| pack-priv static final int ALLOWED_REPEATS | |
| exceptionCount | back to summary |
|---|---|
| private int exceptionCount | |
| fai | back to summary |
|---|---|
| private FilterAttachableImpl<E> fai | |
| guard | back to summary |
|---|---|
| private ThreadLocal<Boolean> guard The guard prevents an appender from repeatedly calling its own doAppend method. | |
| name | back to summary |
|---|---|
| protected String name Appenders are named. | |
| started | back to summary |
|---|---|
| protected boolean started | |
| statusRepeatCount | back to summary |
|---|---|
| private int statusRepeatCount | |
| UnsynchronizedAppenderBase | back to summary |
|---|---|
| public UnsynchronizedAppenderBase() | |
| addFilter | back to summary |
|---|---|
| public void addFilter(Filter<E> newFilter) Implements ch. Doc from ch. Add a filter. | |
| append | back to summary |
|---|---|
| protected abstract void append(E eventObject) | |
| clearAllFilters | back to summary |
|---|---|
| public void clearAllFilters() Implements ch. | |
| doAppend | back to summary |
|---|---|
| public void doAppend(E eventObject) Implements ch. Doc from ch. This is where an appender accomplishes its work. Note that the argument is of type Object. | |
| getCopyOfAttachedFiltersList | back to summary |
|---|---|
| public List Implements ch. Doc from ch. Get a copy of all the filters contained within this FilterAttachable object. | |
| getFilterChainDecision | back to summary |
|---|---|
| public FilterReply getFilterChainDecision(E event) Implements ch. Doc from ch. Loop through the filters in the chain. As soon as a filter decides on ACCEPT or DENY, then that value is returned. If all of the filters return NEUTRAL, then NEUTRAL is returned. | |
| getName | back to summary |
|---|---|
| public String getName() Implements ch. Doc from ch. Get the name of this appender. The name uniquely identifies the appender. | |
| isStarted | back to summary |
|---|---|
| public boolean isStarted() Implements ch. | |
| setName | back to summary |
|---|---|
| public void setName(String name) Implements ch. Set the name of this appender. | |
| start | back to summary |
|---|---|
| public void start() Implements ch. | |
| stop | back to summary |
|---|---|
| public void stop() Implements ch. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |