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 Type
    Method
    Description
    void
     
    void
    killOlderThan(long timestamp)
    Removes logs older than the provided timestamp
  • Method Details

    • killAll

      void killAll() throws IOException
      Throws:
      IOException
    • killOlderThan

      void killOlderThan(long timestamp) throws IOException
      Removes logs older than the provided timestamp
      Parameters:
      timestamp - Timestamp in milliseconds
      Throws:
      IOException