Class DefaultAsyncWaitStrategyFactory
java.lang.Object
org.apache.logging.log4j.core.async.DefaultAsyncWaitStrategyFactory
- All Implemented Interfaces:
AsyncWaitStrategyFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static com.lmax.disruptor.WaitStrategycreateDefaultWaitStrategy(String propertyName) com.lmax.disruptor.WaitStrategyCreates and returns a non-null implementation of the LMAX Disruptor's WaitStrategy interface.private static StringgetFullPropertyKey(String strategyKey, String additionalKey) private static longparseAdditionalLongProperty(String propertyName, String additionalKey, long defaultValue)
-
Field Details
-
DEFAULT_WAIT_STRATEGY_CLASSNAME
-
LOGGER
-
propertyName
-
-
Constructor Details
-
DefaultAsyncWaitStrategyFactory
-
-
Method Details
-
createWaitStrategy
public com.lmax.disruptor.WaitStrategy createWaitStrategy()Description copied from interface:AsyncWaitStrategyFactoryCreates and returns a non-null implementation of the LMAX Disruptor's WaitStrategy interface. This WaitStrategy will be used by Log4j Async Loggers and Async LoggerConfigs.- Specified by:
createWaitStrategyin interfaceAsyncWaitStrategyFactory- Returns:
- the WaitStrategy instance to be used by Async Loggers and Async LoggerConfigs
-
createDefaultWaitStrategy
-
getFullPropertyKey
-
parseAdditionalLongProperty
-