|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Strategy that checks condition under which file rotation is needed.
Method Summary | |
boolean |
isRotationNeeded(String data,
File file)
Check if a log rotation is neccessary at this time. |
void |
reset()
Reset cumulative rotation history data. |
Method Detail |
public void reset()
public boolean isRotationNeeded(String data, File file)
data
- the serialized version of the message about to be written
to the log systemfile
- the File that we are writing to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |