public abstract class HttpArtifactCacheEvent extends ArtifactCacheEvent
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpArtifactCacheEvent.Finished |
static interface |
HttpArtifactCacheEvent.HttpArtifactCacheEventFetchData |
static interface |
HttpArtifactCacheEvent.HttpArtifactCacheEventStoreData |
static class |
HttpArtifactCacheEvent.Scheduled |
static class |
HttpArtifactCacheEvent.Shutdown |
static class |
HttpArtifactCacheEvent.Started |
ArtifactCacheEvent.CacheMode, ArtifactCacheEvent.InvocationType, ArtifactCacheEvent.Operation, ArtifactCacheEvent.StoreType| Modifier and Type | Field and Description |
|---|---|
static ArtifactCacheEvent.CacheMode |
CACHE_MODE |
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 |
HttpArtifactCacheEvent(EventKey eventKey,
ArtifactCacheEvent.Operation operation,
Optional<BuildTarget> target,
com.google.common.collect.ImmutableSet<RuleKey> ruleKeys,
ArtifactCacheEvent.InvocationType invocationType,
ArtifactCacheEvent.StoreType storeType) |
| Modifier and Type | Method and Description |
|---|---|
static HttpArtifactCacheEvent.Started |
newFetchStartedEvent(BuildTarget target,
RuleKey ruleKey) |
static HttpArtifactCacheEvent.Finished.Builder |
newFinishedEventBuilder(HttpArtifactCacheEvent.Started event) |
static com.facebook.buck.artifact_cache.HttpArtifactCacheEvent.MultiFetchStarted |
newMultiFetchStartedEvent(com.google.common.collect.ImmutableList<BuildTarget> targets,
com.google.common.collect.ImmutableList<RuleKey> ruleKeys) |
static HttpArtifactCacheEvent.Shutdown |
newShutdownEvent() |
static HttpArtifactCacheEvent.Scheduled |
newStoreScheduledEvent(Optional<BuildTarget> target,
com.google.common.collect.ImmutableSet<RuleKey> ruleKeys,
ArtifactCacheEvent.StoreType storeType) |
static HttpArtifactCacheEvent.Started |
newStoreStartedEvent(HttpArtifactCacheEvent.Scheduled scheduled) |
getCategory, getEventName, getInvocationType, getOperation, getRuleKeys, getStoreType, getTarget, getValueStringconfigure, equals, getBuildId, getEventKey, getNanoTime, getThreadId, getThreadUserNanoTime, getTimestampMillis, hashCode, isConfigured, isRelatedTo, toLogMessage, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitconfigure, getBuildId, getEventKey, getNanoTime, getThreadId, getThreadUserNanoTime, isConfigured, isRelatedTo, toLogMessagegetTimestampMillis, storeLastInstanceAndReplayForNewClientspublic static final ArtifactCacheEvent.CacheMode CACHE_MODE
protected HttpArtifactCacheEvent(EventKey eventKey, ArtifactCacheEvent.Operation operation, Optional<BuildTarget> target, com.google.common.collect.ImmutableSet<RuleKey> ruleKeys, ArtifactCacheEvent.InvocationType invocationType, ArtifactCacheEvent.StoreType storeType)
public static HttpArtifactCacheEvent.Started newFetchStartedEvent(@Nullable BuildTarget target, RuleKey ruleKey)
public static HttpArtifactCacheEvent.Started newStoreStartedEvent(HttpArtifactCacheEvent.Scheduled scheduled)
public static HttpArtifactCacheEvent.Scheduled newStoreScheduledEvent(Optional<BuildTarget> target, com.google.common.collect.ImmutableSet<RuleKey> ruleKeys, ArtifactCacheEvent.StoreType storeType)
public static HttpArtifactCacheEvent.Shutdown newShutdownEvent()
public static HttpArtifactCacheEvent.Finished.Builder newFinishedEventBuilder(HttpArtifactCacheEvent.Started event)
public static com.facebook.buck.artifact_cache.HttpArtifactCacheEvent.MultiFetchStarted newMultiFetchStartedEvent(com.google.common.collect.ImmutableList<BuildTarget> targets, com.google.common.collect.ImmutableList<RuleKey> ruleKeys)