java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.spi.BasicSequenceNumberGenerator
- All Implemented Interfaces:
ContextAware
,SequenceNumberGenerator
public class BasicSequenceNumberGenerator
extends ContextAwareBase
implements SequenceNumberGenerator
A very simple
SequenceNumberGenerator
based on an AtomicLong
variable.- Since:
- 1.3.0
- Author:
- Ceki Gülcü
-
Field Summary
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
Constructor Summary
-
Method Summary
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
Constructor Details
-
BasicSequenceNumberGenerator
public BasicSequenceNumberGenerator()
-
-
Method Details
-
nextSequenceNumber
- Specified by:
nextSequenceNumber
in interfaceSequenceNumberGenerator
-