public static class ProcessTracker.ProcessResourceConsumptionEvent extends AbstractBuckEvent
BUILD_FINISHED, BUILD_REPORT, BUILD_STARTED, BUILD_STATUS_EVENT, CACHE_RATE_STATS_UPDATE_EVENT, INDIVIDUAL_TEST_AWAITING_RESULTS, INSTALL_STARTED, PARSE_FINISHED, PARSE_STARTED, PROJECT_GENERATION_FINISHED, PROJECT_GENERATION_STARTED, TEST_RUN_STARTED
Constructor and Description |
---|
ProcessResourceConsumptionEvent(String executableName,
Optional<ProcessExecutorParams> params,
Optional<com.google.common.collect.ImmutableMap<String,String>> context,
Optional<ProcessResourceConsumption> resourceConsumption) |
Modifier and Type | Method and Description |
---|---|
Optional<com.google.common.collect.ImmutableMap<String,String>> |
getContext() |
String |
getEventName() |
String |
getExecutableName() |
Optional<ProcessExecutorParams> |
getParams() |
Optional<ProcessResourceConsumption> |
getResourceConsumption() |
protected String |
getValueString() |
configure, equals, getBuildId, getEventKey, getNanoTime, getThreadId, getThreadUserNanoTime, getTimestampMillis, hashCode, isConfigured, isRelatedTo, toLogMessage, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
storeLastInstanceAndReplayForNewClients
public ProcessResourceConsumptionEvent(String executableName, Optional<ProcessExecutorParams> params, Optional<com.google.common.collect.ImmutableMap<String,String>> context, Optional<ProcessResourceConsumption> resourceConsumption)
public String getExecutableName()
public Optional<ProcessExecutorParams> getParams()
public Optional<ProcessResourceConsumption> getResourceConsumption()
protected String getValueString()
getValueString
in class AbstractBuckEvent
public String getEventName()