public class LogRotationTimer extends Object
| Modifier and Type | Method and Description |
|---|---|
static LogRotationTimer |
getInstance() |
void |
restartTimer(ScheduledExecutorService scheduledExecutorService) |
void |
restartTimerForDayBasedRotation(ScheduledExecutorService scheduledExecutorService) |
void |
startTimer(ScheduledExecutorService scheduledExecutorService,
LogRotationTimerTask timerTask) |
void |
stopTimer() |
public static LogRotationTimer getInstance()
public void startTimer(ScheduledExecutorService scheduledExecutorService, LogRotationTimerTask timerTask)
public void stopTimer()
public void restartTimer(ScheduledExecutorService scheduledExecutorService)
public void restartTimerForDayBasedRotation(ScheduledExecutorService scheduledExecutorService)
Copyright © 2019. All rights reserved.