@Plugin(name="NoOpTriggeringPolicy", category="Core", printObject=true) public class NoOpTriggeringPolicy extends AbstractTriggeringPolicy
LifeCycle.State| Modifier and Type | Field and Description |
|---|---|
static NoOpTriggeringPolicy |
INSTANCE |
DEFAULT_STOP_TIMEOUT, DEFAULT_STOP_TIMEUNIT, LOGGER| Constructor and Description |
|---|
NoOpTriggeringPolicy() |
| Modifier and Type | Method and Description |
|---|---|
static NoOpTriggeringPolicy |
createPolicy() |
void |
initialize(RollingFileManager manager)
Initializes this triggering policy.
|
boolean |
isTriggeringEvent(LogEvent logEvent)
Determines if a rollover may be appropriate at this time.
|
equalsImpl, getState, getStatusLogger, hashCodeImpl, initialize, isInitialized, isStarted, isStarting, isStopped, isStopping, setStarted, setStarting, setState, setStopped, setStopping, start, stop, stop, stoppublic static final NoOpTriggeringPolicy INSTANCE
@PluginFactory public static NoOpTriggeringPolicy createPolicy()
public void initialize(RollingFileManager manager)
TriggeringPolicymanager - The RollingFileManager.public boolean isTriggeringEvent(LogEvent logEvent)
TriggeringPolicylogEvent - A reference to the current log event.