|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.x4juli.global.components.AbstractComponent
org.x4juli.handlers.rolling.nop.NOPTriggeringPolicy
| Field Summary | |
static NOPTriggeringPolicy |
NOP_TRIGGERING_POLICY
|
| Fields inherited from class org.x4juli.global.components.AbstractComponent |
manager, repository |
| Constructor Summary | |
private |
NOPTriggeringPolicy()
|
| Method Summary | |
void |
activateOptions()
Activate the options that were previously set with calls to option setters. |
boolean |
isTriggeringEvent(java.util.logging.Handler handler,
ExtendedLogRecord record,
java.lang.String filename,
long fileLength)
Determines if a rollover may be appropriate at this time. |
| Methods inherited from class org.x4juli.global.components.AbstractComponent |
getLogger, getLoggerRepository, getMessageProperties, getNonFloodingLogger, getProperty, getProperty, getProperty, getProperty, resetErrorCount, setObjectStore |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final NOPTriggeringPolicy NOP_TRIGGERING_POLICY
| Constructor Detail |
private NOPTriggeringPolicy()
| Method Detail |
public boolean isTriggeringEvent(java.util.logging.Handler handler,
ExtendedLogRecord record,
java.lang.String filename,
long fileLength)
TriggeringPolicy
isTriggeringEvent in interface TriggeringPolicyhandler - A reference to the handler.record - A reference to the current record.filename - The filename for the currently active log file.fileLength - Length of the file in bytes.
public void activateOptions()
OptionHandlerThis allows to defer activiation of the options until all options have been set. This is required for components which have related options that remain ambigous until all are set.
activateOptions in interface OptionHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||