http://logback.qos.ch/manual/filters.html#DuplicateMessageFilter
for details.
| Modifier and Type | Field and Description |
|---|---|
| public int | |
| public int | |
| public static final int | DEFAULT_ALLOWED_REPETITIONS
The default number of allows repetitions. |
| public static final int | DEFAULT_CACHE_SIZE
The default cache size. |
| private LRUMessageCache |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public FilterReply | |
| public int | |
| public int | |
| public void | |
| public void | |
| public void | start()
Overrides ch. Implements ch. |
| public void | stop()
Overrides ch. Implements ch. |
| allowedRepetitions | back to summary |
|---|---|
| public int allowedRepetitions | |
| cacheSize | back to summary |
|---|---|
| public int cacheSize | |
| DEFAULT_ALLOWED_REPETITIONS | back to summary |
|---|---|
| public static final int DEFAULT_ALLOWED_REPETITIONS The default number of allows repetitions. | |
| DEFAULT_CACHE_SIZE | back to summary |
|---|---|
| public static final int DEFAULT_CACHE_SIZE The default cache size. | |
| msgCache | back to summary |
|---|---|
| private LRUMessageCache msgCache | |
| DuplicateMessageFilter | back to summary |
|---|---|
| public DuplicateMessageFilter() | |
| decide | back to summary |
|---|---|
| public FilterReply decide(Marker marker, Logger logger, Level level, String format, Object[] params, Throwable t) Implements abstract ch. Doc from ch. Make a decision based on the multiple parameters passed as arguments. The
returned value should be one of
| |
| getAllowedRepetitions | back to summary |
|---|---|
| public int getAllowedRepetitions() | |
| getCacheSize | back to summary |
|---|---|
| public int getCacheSize() | |
| setAllowedRepetitions | back to summary |
|---|---|
| public void setAllowedRepetitions(int allowedRepetitions) The allowed number of repetitions before | |
| setCacheSize | back to summary |
|---|---|
| public void setCacheSize(int cacheSize) | |
| start | back to summary |
|---|---|
| public void start() Overrides ch. Implements ch.
| |
| stop | back to summary |
|---|---|
| public void stop() Overrides ch. Implements ch.
| |