public class FileHashCacheEvent extends AbstractBuckEvent implements LeafEvent
Modifier and Type | Class and Description |
---|---|
static class |
FileHashCacheEvent.InvalidationFinished |
static class |
FileHashCacheEvent.InvalidationStarted |
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 |
---|
FileHashCacheEvent(EventKey eventKey) |
FileHashCacheEvent(String subCategory,
long amortizedNanoTime,
long totalTime,
long dataPointsCount) |
Modifier and Type | Method and Description |
---|---|
long |
getAmortizedNanoTime() |
String |
getCategory() |
long |
getDataPointsCount() |
String |
getEventName() |
long |
getTotalNanoTime() |
protected String |
getValueString() |
static FileHashCacheEvent.InvalidationFinished |
invalidationFinished(FileHashCacheEvent.InvalidationStarted started) |
static FileHashCacheEvent.InvalidationStarted |
invalidationStarted() |
void |
setCategory(String category) |
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
getTimestampMillis, storeLastInstanceAndReplayForNewClients
public FileHashCacheEvent(String subCategory, long amortizedNanoTime, long totalTime, long dataPointsCount)
public FileHashCacheEvent(EventKey eventKey)
public String getCategory()
getCategory
in interface LeafEvent
public void setCategory(String category)
public long getAmortizedNanoTime()
public long getTotalNanoTime()
public long getDataPointsCount()
public String getEventName()
getEventName
in interface BuckEventExternalInterface
protected String getValueString()
getValueString
in class AbstractBuckEvent
public static FileHashCacheEvent.InvalidationStarted invalidationStarted()
public static FileHashCacheEvent.InvalidationFinished invalidationFinished(FileHashCacheEvent.InvalidationStarted started)