Package org.apache.druid.tasklogs
Interface TaskLogPusher
-
- All Known Subinterfaces:
TaskLogs
- All Known Implementing Classes:
NoopTaskLogs
public interface TaskLogPusherSomething 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 voidpushTaskLog(String taskid, File logFile)default voidpushTaskReports(String taskid, File reportFile)default voidpushTaskStatus(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
-
-