public static class DirArtifactCacheEvent.DirArtifactCacheEventFactory extends AbstractArtifactCacheEventFactory
Constructor and Description |
---|
DirArtifactCacheEventFactory(java.util.function.Function<String,UnconfiguredBuildTarget> unconfiguredBuildTargetFactory,
TargetConfigurationSerializer targetConfigurationSerializer) |
Modifier and Type | Method and Description |
---|---|
ArtifactCacheEvent.Finished |
newContainsFinishedEvent(ArtifactCacheEvent.Started started,
Map<RuleKey,CacheResult> results) |
ArtifactCacheEvent.Started |
newContainsStartedEvent(com.google.common.collect.ImmutableSet<RuleKey> ruleKeys) |
ArtifactCacheEvent.Finished |
newFetchFinishedEvent(ArtifactCacheEvent.Started started,
CacheResult cacheResult) |
ArtifactCacheEvent.Started |
newFetchStartedEvent(com.google.common.collect.ImmutableSet<RuleKey> ruleKeys) |
DirArtifactCacheEvent.Finished |
newFinishedEvent(ArtifactCacheEvent.Started started,
Optional<CacheResult> cacheResult) |
ArtifactCacheEvent.Finished |
newStoreFinishedEvent(ArtifactCacheEvent.Started started) |
ArtifactCacheEvent.Started |
newStoreStartedEvent(com.google.common.collect.ImmutableSet<RuleKey> ruleKeys,
com.google.common.collect.ImmutableMap<String,String> metadata) |
getTarget, getTarget, getTarget
public DirArtifactCacheEventFactory(java.util.function.Function<String,UnconfiguredBuildTarget> unconfiguredBuildTargetFactory, TargetConfigurationSerializer targetConfigurationSerializer)
public ArtifactCacheEvent.Started newFetchStartedEvent(com.google.common.collect.ImmutableSet<RuleKey> ruleKeys)
public ArtifactCacheEvent.Started newContainsStartedEvent(com.google.common.collect.ImmutableSet<RuleKey> ruleKeys)
public ArtifactCacheEvent.Started newStoreStartedEvent(com.google.common.collect.ImmutableSet<RuleKey> ruleKeys, com.google.common.collect.ImmutableMap<String,String> metadata)
public ArtifactCacheEvent.Finished newStoreFinishedEvent(ArtifactCacheEvent.Started started)
public ArtifactCacheEvent.Finished newFetchFinishedEvent(ArtifactCacheEvent.Started started, CacheResult cacheResult)
public ArtifactCacheEvent.Finished newContainsFinishedEvent(ArtifactCacheEvent.Started started, Map<RuleKey,CacheResult> results)
public DirArtifactCacheEvent.Finished newFinishedEvent(ArtifactCacheEvent.Started started, Optional<CacheResult> cacheResult)