public class FileTaskLogs extends Object implements io.druid.tasklogs.TaskLogs
| Constructor and Description |
|---|
FileTaskLogs(FileTaskLogsConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
pushTaskLog(String taskid,
File file) |
com.google.common.base.Optional<com.google.common.io.ByteSource> |
streamTaskLog(String taskid,
long offset) |
@Inject public FileTaskLogs(FileTaskLogsConfig config)
public void pushTaskLog(String taskid, File file) throws IOException
pushTaskLog in interface io.druid.tasklogs.TaskLogPusherIOExceptionpublic com.google.common.base.Optional<com.google.common.io.ByteSource> streamTaskLog(String taskid, long offset) throws IOException
streamTaskLog in interface io.druid.tasklogs.TaskLogStreamerIOExceptionCopyright © 2015. All rights reserved.