|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TriggeringPolicy
A TriggeringPolicy
controls the conditions under which rollover
occurs. Such conditions include time of day, file size, an
external event, the log request or a combination thereof.
Method Summary | |
---|---|
void |
initialize(RollingFileManager manager)
Initialize the Policy. |
boolean |
isTriggeringEvent(LogEvent event)
Determines if a rollover may be appropriate at this time. |
Method Detail |
---|
void initialize(RollingFileManager manager)
manager
- The RollingFileManager.boolean isTriggeringEvent(LogEvent event)
event
- A reference to the currently event.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |