public interface RollingPolicy
RollingFileAppender
will
generate rolling files.Modifier and Type | Method and Description |
---|---|
void |
bytesWritten(long bytes)
Notify that bytes have been written
|
String |
generateRolledOverFileSuffix()
Get the desired name of the rollover file
|
void |
rolledOver()
Notify that rollover has occurred
|
boolean |
shouldRollover(long bytesToBeWritten)
Whether rollover should be initiated at this moment
|
void bytesWritten(long bytes)
String generateRolledOverFileSuffix()
void rolledOver()
boolean shouldRollover(long bytesToBeWritten)