|
Openfire 3.6.0 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RotateStrategy
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 |
---|
void reset()
boolean isRotationNeeded(String data, File file)
data
- the serialized version of last message written to the log systemfile
- the File that we are writing to
|
Openfire 3.6.0 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |