Package org.apache.druid.tasklogs
Interface TaskLogKiller
- All Known Subinterfaces:
TaskLogs
- All Known Implementing Classes:
NoopTaskLogs,SwitchingTaskLogs
public interface TaskLogKiller
Cleans up stale task logs from deep storage.
-
Method Summary
Modifier and TypeMethodDescriptionvoidkillAll()voidkillOlderThan(long timestamp) Removes logs older than the provided timestamp
-
Method Details
-
killAll
- Throws:
IOException
-
killOlderThan
Removes logs older than the provided timestamp- Parameters:
timestamp- Timestamp in milliseconds- Throws:
IOException
-