Uses of Class
ch.qos.logback.core.util.Duration
Package
Description
Contains the shutdown hook functionality of logback,
including the interface and base class for implementing
hooks as well as some default implementations, such as
invalid reference
DelayingShutdownHook
Contains the base classes used by logback to log to remote
destinations.
Implements various file rolling policies.
Contains various utility classes.
-
Uses of Duration in ch.qos.logback.core.hook
Modifier and TypeFieldDescriptionstatic final Duration
DefaultShutdownHook.DEFAULT_DELAY
The default is no delay before shutdown. -
Uses of Duration in ch.qos.logback.core.net
Modifier and TypeMethodDescriptionAbstractSocketAppender.getEventDelayLimit()
Returns the value of the eventDelayLimit property.AbstractSocketAppender.getReconnectionDelay()
Returns value of the reconnectionDelay property.Modifier and TypeMethodDescriptionvoid
AbstractSocketAppender.setEventDelayLimit
(Duration eventDelayLimit) The eventDelayLimit takes a non-negative integer representing the number of milliseconds to allow the appender to block if the underlying BlockingQueue is full.void
AbstractSocketAppender.setReconnectionDelay
(Duration delay) The reconnectionDelay property takes a positiveDuration
value representing the time to wait between each failed connection attempt to the server. -
Uses of Duration in ch.qos.logback.core.rolling
Modifier and TypeMethodDescriptionSizeAndTimeBasedFileNamingAndTriggeringPolicy.getCheckIncrement()
SizeBasedTriggeringPolicy.getCheckIncrement()
Modifier and TypeMethodDescriptionvoid
SizeAndTimeBasedFileNamingAndTriggeringPolicy.setCheckIncrement
(Duration checkIncrement) void
SizeBasedTriggeringPolicy.setCheckIncrement
(Duration checkIncrement) -
Uses of Duration in ch.qos.logback.core.sift
-
Uses of Duration in ch.qos.logback.core.util
Modifier and TypeMethodDescriptionstatic Duration
Duration.buildByDays
(double value) static Duration
Duration.buildByHours
(double value) static Duration
Duration.buildByMilliseconds
(double value) static Duration
Duration.buildByMinutes
(double value) static Duration
Duration.buildBySeconds
(double value) static Duration
Duration.buildUnbounded()
static Duration