public class AzureTaskLogs extends Object implements io.druid.tasklogs.TaskLogs
Constructor and Description |
---|
AzureTaskLogs(AzureTaskLogsConfig config,
AzureStorage azureStorage) |
Modifier and Type | Method and Description |
---|---|
void |
pushTaskLog(String taskid,
File logFile) |
com.google.common.base.Optional<com.google.common.io.ByteSource> |
streamTaskLog(String taskid,
long offset) |
@Inject public AzureTaskLogs(AzureTaskLogsConfig config, AzureStorage azureStorage)
public void pushTaskLog(String taskid, File logFile) throws IOException
pushTaskLog
in interface io.druid.tasklogs.TaskLogPusher
IOException
public com.google.common.base.Optional<com.google.common.io.ByteSource> streamTaskLog(String taskid, long offset) throws IOException
streamTaskLog
in interface io.druid.tasklogs.TaskLogStreamer
IOException
Copyright © 2011–2015. All rights reserved.