public static class SQLiteArtifactCacheEvent.SQLiteArtifactCacheEventFactory extends AbstractArtifactCacheEventFactory
Modifier | Constructor and Description |
---|---|
protected |
SQLiteArtifactCacheEventFactory(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) |
SQLiteArtifactCacheEvent.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
protected SQLiteArtifactCacheEventFactory(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 SQLiteArtifactCacheEvent.Finished newFinishedEvent(ArtifactCacheEvent.Started started, Optional<CacheResult> cacheResult)