public static class HttpArtifactCacheEvent.Finished extends ArtifactCacheEvent.Finished
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpArtifactCacheEvent.Finished.Builder |
ArtifactCacheEvent.CacheMode, ArtifactCacheEvent.Finished, ArtifactCacheEvent.InvocationType, ArtifactCacheEvent.Operation, ArtifactCacheEvent.Started, ArtifactCacheEvent.StoreTypeBUILD_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 |
|---|
Finished(ArtifactCacheEvent.Started event,
HttpArtifactCacheEvent.HttpArtifactCacheEventStoreData data) |
Finished(ArtifactCacheEvent.Started event,
Optional<BuildTarget> target,
HttpArtifactCacheEvent.HttpArtifactCacheEventFetchData data) |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(long timestampMillis,
long nanoTime,
long userThreadNanoTime,
long threadId,
BuildId buildId)
Method to configure an event before posting it to the
BuckEventBus. |
String |
getEventName() |
HttpArtifactCacheEvent.HttpArtifactCacheEventFetchData |
getFetchData() |
long |
getRequestDurationMillis() |
ArtifactCacheEvent.Started |
getStartedEvent() |
HttpArtifactCacheEvent.HttpArtifactCacheEventStoreData |
getStoreData() |
equals, getCacheResult, hashCode, isSuccessgetCategory, getInvocationType, getOperation, getRuleKeys, getStoreType, getTarget, getValueStringgetBuildId, getEventKey, getNanoTime, getThreadId, getThreadUserNanoTime, getTimestampMillis, isConfigured, isRelatedTo, toLogMessage, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetBuildId, getEventKey, getNanoTime, getThreadId, getThreadUserNanoTime, isConfigured, isRelatedTo, toLogMessagegetTimestampMillis, storeLastInstanceAndReplayForNewClientspublic Finished(ArtifactCacheEvent.Started event, Optional<BuildTarget> target, HttpArtifactCacheEvent.HttpArtifactCacheEventFetchData data)
public Finished(ArtifactCacheEvent.Started event, HttpArtifactCacheEvent.HttpArtifactCacheEventStoreData data)
public long getRequestDurationMillis()
public HttpArtifactCacheEvent.HttpArtifactCacheEventFetchData getFetchData()
public ArtifactCacheEvent.Started getStartedEvent()
public HttpArtifactCacheEvent.HttpArtifactCacheEventStoreData getStoreData()
public void configure(long timestampMillis,
long nanoTime,
long userThreadNanoTime,
long threadId,
BuildId buildId)
AbstractBuckEventBuckEventBus. This method should
only be invoked once per event, and only by the BuckEventBus in production code.configure in interface BuckEventconfigure in class AbstractBuckEventpublic String getEventName()
getEventName in interface BuckEventExternalInterfacegetEventName in class ArtifactCacheEvent