Package ch.qos.logback.access.filter
Class CountingFilter
- All Implemented Interfaces:
ContextAware,LifeCycle
-
Field Summary
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecide(IAccessEvent event)longgetTotal()voidvoidstart()voidstop()Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Constructor Details
-
CountingFilter
public CountingFilter()
-
-
Method Details
-
decide
- Specified by:
decidein classFilter<IAccessEvent>
-
getTotal
public long getTotal() -
start
public void start()- Specified by:
startin interfaceLifeCycle- Overrides:
startin classFilter<IAccessEvent>
-
stop
public void stop()- Specified by:
stopin interfaceLifeCycle- Overrides:
stopin classFilter<IAccessEvent>
-
getDomain
-
setDomain
-