Package org.apache.druid.tasklogs
Interface TaskLogPusher
-
- All Known Subinterfaces:
TaskLogs
- All Known Implementing Classes:
NoopTaskLogs
public interface TaskLogPusher
Something that knows how to persist local task logs to some form of long-term storage.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
pushTaskLog(String taskid, File logFile)
default void
pushTaskReports(String taskid, File reportFile)
default void
pushTaskStatus(String taskid, File reportFile)
-
-
-
Method Detail
-
pushTaskLog
void pushTaskLog(String taskid, File logFile) throws IOException
- Throws:
IOException
-
pushTaskReports
default void pushTaskReports(String taskid, File reportFile) throws IOException
- Throws:
IOException
-
pushTaskStatus
default void pushTaskStatus(String taskid, File reportFile) throws IOException
- Throws:
IOException
-
-