public class LogUploaderListener extends Object implements BuckEventListener
Constructor and Description |
---|
LogUploaderListener(ChromeTraceBuckConfig config,
Path logFilePath,
Path logDirectoryPath,
BuildId buildId,
TaskManagerCommandScope managerScope,
String traceKindFile) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Cleanup, output any trace data collected to the backing store.
|
void |
commandFinished(CommandEvent.Finished finished) |
void |
commandInterrupted(CommandEvent.Interrupted interrupted) |
public LogUploaderListener(ChromeTraceBuckConfig config, Path logFilePath, Path logDirectoryPath, BuildId buildId, TaskManagerCommandScope managerScope, String traceKindFile)
public void commandFinished(CommandEvent.Finished finished)
public void commandInterrupted(CommandEvent.Interrupted interrupted)
public void close()
BuckEventListener
close
in interface BuckEventListener
close
in interface Closeable
close
in interface AutoCloseable