public interface FileRollOverManager
| Modifier and Type | Method and Description |
|---|---|
void |
cancelTimeBasedFileRollOver()
Stops performing time based roll-over
|
boolean |
rollFileOver()
Triggers a file roll over.
|
void |
scheduleTimeBasedRollOverIfNeeded()
Schedules a time-based roll-over task if the necessary info is present, and no existing task
has been scheduled.
|
boolean rollFileOver()
throws IOException
true if events existed and a roll-over file
was created.
Returns false if no events existed and a roll-over file was not created.IOExceptionvoid scheduleTimeBasedRollOverIfNeeded()
void cancelTimeBasedFileRollOver()