|
Jive Forums API (5.5.8) Developer Javadocs | |||||||||
| 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 | |
|---|---|
void |
initializeSize(java.io.File file)
Initializes the size of the strategy from the length of the given file. |
boolean |
isRotationNeeded(java.lang.String data,
java.io.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(java.lang.String data,
java.io.File file)
data - the serialized version of last message written to the log systemfile - the File that we are writing to
void initializeSize(java.io.File file)
file - the File that will be written to
|
Jive Forums Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||