public abstract class ArtifactCompressionEvent extends AbstractBuckEvent implements LeafEvent, WorkAdvanceEvent
Modifier and Type | Class and Description |
---|---|
static class |
ArtifactCompressionEvent.Finished
Event for when a artifact finishes compression/decompression
|
static class |
ArtifactCompressionEvent.Operation |
static class |
ArtifactCompressionEvent.Started
Event for when a artifact starts compression/decompression
|
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
Modifier | Constructor and Description |
---|---|
protected |
ArtifactCompressionEvent(EventKey eventKey,
ArtifactCompressionEvent.Operation operation,
com.google.common.collect.ImmutableSet<RuleKey> ruleKeys,
HasNameAndType rule) |
Modifier and Type | Method and Description |
---|---|
static ArtifactCompressionEvent.Finished |
finished(ArtifactCompressionEvent.Started started,
long fullSize,
long compressedSize,
HasNameAndType rule)
Create a new Finished event for corresponding Started event
|
String |
getCategory() |
ArtifactCompressionEvent.Operation |
getOperation() |
com.google.common.collect.ImmutableSet<RuleKey> |
getRuleKeys() |
String |
getValueString() |
static ArtifactCompressionEvent.Started |
started(ArtifactCompressionEvent.Operation operation,
com.google.common.collect.ImmutableSet<RuleKey> ruleKeys,
HasNameAndType rule)
Create a new Started event for the operation and set of RuleKeys
|
configure, equals, getBuildId, getEventKey, getNanoTime, getThreadId, getThreadUserNanoTime, getTimestampMillis, hashCode, isConfigured, isRelatedTo, toLogMessage, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
configure, getBuildId, getEventKey, getNanoTime, getThreadId, getThreadUserNanoTime, isConfigured, isRelatedTo, toLogMessage
getEventName, getTimestampMillis, storeLastInstanceAndReplayForNewClients
protected ArtifactCompressionEvent(EventKey eventKey, ArtifactCompressionEvent.Operation operation, com.google.common.collect.ImmutableSet<RuleKey> ruleKeys, HasNameAndType rule)
public String getCategory()
getCategory
in interface LeafEvent
public String getValueString()
getValueString
in class AbstractBuckEvent
public com.google.common.collect.ImmutableSet<RuleKey> getRuleKeys()
public ArtifactCompressionEvent.Operation getOperation()
public static ArtifactCompressionEvent.Started started(ArtifactCompressionEvent.Operation operation, com.google.common.collect.ImmutableSet<RuleKey> ruleKeys, HasNameAndType rule)
public static ArtifactCompressionEvent.Finished finished(ArtifactCompressionEvent.Started started, long fullSize, long compressedSize, HasNameAndType rule)