public interface RotateStrategy
| Modifier and Type | Method and Description |
|---|---|
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.
|
void reset()
boolean isRotationNeeded(java.lang.String data,
java.io.File file)
data - the serialized version of the message about to be written
to the log systemfile - the File that we are writing to