Package org.apache.druid.tasklogs
Interface TaskLogKiller
-
- All Known Subinterfaces:
TaskLogs
- All Known Implementing Classes:
NoopTaskLogs
public interface TaskLogKillerCleans up stale task logs from deep storage.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidkillAll()voidkillOlderThan(long timestamp)Removes logs older than the provided timestamp
-
-
-
Method Detail
-
killAll
void killAll() throws IOException- Throws:
IOException
-
killOlderThan
void killOlderThan(long timestamp) throws IOExceptionRemoves logs older than the provided timestamp- Parameters:
timestamp- Timestamp in milliseconds- Throws:
IOException
-
-