public class JavacEventSinkToBuckEventBusBridge extends Object implements JavacEventSink
| Constructor and Description |
|---|
JavacEventSinkToBuckEventBusBridge(BuckEventBus eventBus) |
| Modifier and Type | Method and Description |
|---|---|
void |
reportAnnotationProcessingEventFinished(BuildTarget buildTarget,
String annotationProcessorName,
String operationAsString,
int round,
boolean isLastRound) |
void |
reportAnnotationProcessingEventStarted(BuildTarget buildTarget,
String annotationProcessorName,
String operationAsString,
int round,
boolean isLastRound) |
void |
reportCompilerPluginFinished(BuildTarget buildTarget,
com.google.common.collect.ImmutableMap<String,String> args) |
void |
reportCompilerPluginStarted(BuildTarget buildTarget,
String pluginName,
String durationName,
com.google.common.collect.ImmutableMap<String,String> args) |
void |
reportEvent(Level level,
String message,
Object... args) |
void |
reportJavacPhaseFinished(BuildTarget buildTarget,
String phaseAsString,
com.google.common.collect.ImmutableMap<String,String> args) |
void |
reportJavacPhaseStarted(BuildTarget buildTarget,
String phaseAsString,
com.google.common.collect.ImmutableMap<String,String> args) |
void |
reportThrowable(Throwable throwable,
String message,
Object... args) |
void |
startSimplePerfEvent(String name,
long uniqueKey)
There could be several perf events with the same name.
|
void |
stopSimplePerfEvent(long uniqueKey) |
public JavacEventSinkToBuckEventBusBridge(BuckEventBus eventBus)
public void reportThrowable(Throwable throwable, String message, Object... args)
reportThrowable in interface JavacEventSinkpublic void reportEvent(Level level, String message, Object... args)
reportEvent in interface JavacEventSinkpublic void reportCompilerPluginStarted(BuildTarget buildTarget, String pluginName, String durationName, com.google.common.collect.ImmutableMap<String,String> args)
reportCompilerPluginStarted in interface JavacEventSinkpublic void reportCompilerPluginFinished(BuildTarget buildTarget, com.google.common.collect.ImmutableMap<String,String> args)
reportCompilerPluginFinished in interface JavacEventSinkpublic void reportJavacPhaseStarted(BuildTarget buildTarget, String phaseAsString, com.google.common.collect.ImmutableMap<String,String> args)
reportJavacPhaseStarted in interface JavacEventSinkpublic void reportJavacPhaseFinished(BuildTarget buildTarget, String phaseAsString, com.google.common.collect.ImmutableMap<String,String> args)
reportJavacPhaseFinished in interface JavacEventSinkpublic void reportAnnotationProcessingEventStarted(BuildTarget buildTarget, String annotationProcessorName, String operationAsString, int round, boolean isLastRound)
reportAnnotationProcessingEventStarted in interface JavacEventSinkpublic void reportAnnotationProcessingEventFinished(BuildTarget buildTarget, String annotationProcessorName, String operationAsString, int round, boolean isLastRound)
reportAnnotationProcessingEventFinished in interface JavacEventSinkpublic void startSimplePerfEvent(String name, long uniqueKey)
JavacEventSinkstartSimplePerfEvent in interface JavacEventSinkname - Name of event. This should match in both Start and Stop method calls.uniqueKey - Unique key. This should match in both Start and Stop method calls.public void stopSimplePerfEvent(long uniqueKey)
stopSimplePerfEvent in interface JavacEventSinkuniqueKey - Unique key. This should match in both Start and Stop method calls.