LifeCycleAbstractAppender, AbstractConfiguration, AbstractDatabaseAppender, AbstractFileAppender, AbstractFilter, AbstractFilterable, AbstractLifeCycle, AbstractOutputStreamAppender, AbstractTriggeringPolicy, AbstractWriterAppender, AppenderControl, AsyncAppender, AsyncLoggerConfig, AsyncLoggerConfig.RootLogger, AsyncLoggerConfigDisruptor, AsyncLoggerContext, BuiltConfiguration, BurstFilter, CompositeConfiguration, CompositeFilter, CompositeTriggeringPolicy, ConfigurationScheduler, ConsoleAppender, CountingNoOpAppender, CronTriggeringPolicy, DefaultConfiguration, DefaultShutdownCallbackRegistry, DynamicThresholdFilter, FailoverAppender, FileAppender, HttpAppender, IdlePurgePolicy, JdbcAppender, JeroMqAppender, JmsAppender, JpaAppender, JsonConfiguration, LevelRangeFilter, LoggerConfig, LoggerConfig.RootLogger, LoggerContext, MapFilter, MarkerFilter, MemoryMappedFileAppender, NoSqlAppender, NullAppender, NullConfiguration, OnStartupTriggeringPolicy, OutputStreamAppender, PropertiesConfiguration, RandomAccessFileAppender, RegexFilter, RewriteAppender, RollingFileAppender, RollingRandomAccessFileAppender, RoutingAppender, ScriptAppenderSelector, ScriptFilter, ServletAppender, SizeBasedTriggeringPolicy, SmtpAppender, SocketAppender, StructuredDataFilter, SyslogAppender, ThreadContextMapFilter, ThresholdFilter, TimeBasedTriggeringPolicy, TimeFilter, WatchManager, WriterAppender, XmlConfiguration, YamlConfigurationpublic interface LifeCycle2 extends LifeCycle
This interface should be merged with the super-interface in 3.0.
LifeCycle.State| Modifier and Type | Method | Description |
|---|---|---|
boolean |
stop(long timeout,
TimeUnit timeUnit) |
Blocks until all tasks have completed execution after a shutdown request, or the timeout occurs, or the current
thread is interrupted, whichever happens first.
|
boolean stop(long timeout,
TimeUnit timeUnit)
timeout - the maximum time to waittimeUnit - the time unit of the timeout argumentCopyright © 1999-2018. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.