Package com.facebook.buck.rules.keys
Interface TrackableRuleKeyCache<V>
-
- Type Parameters:
V
-
- All Known Implementing Classes:
DefaultRuleKeyCache
public interface TrackableRuleKeyCache<V>
RuleKeyCache that can be tracked withCacheStatsTracker
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description V
get(BuildEngineAction action, CacheStatsTracker statsTracker)
V
get(BuildEngineAction rule, java.util.function.Function<? super BuildEngineAction,RuleKeyResult<V>> create, CacheStatsTracker statsTracker)
V
get(AddsToRuleKey appendable, java.util.function.Function<? super AddsToRuleKey,RuleKeyResult<V>> create, CacheStatsTracker statsTracker)
com.google.common.collect.ImmutableList<Map.Entry<BuildRule,V>>
getCachedBuildRules()
void
invalidateAll(CacheStatsTracker statsTracker)
void
invalidateAllExceptFilesystems(com.google.common.collect.ImmutableSet<ProjectFilesystem> filesystems, CacheStatsTracker statsTracker)
void
invalidateFilesystem(ProjectFilesystem filesystem, CacheStatsTracker statsTracker)
void
invalidateInputs(Iterable<com.facebook.buck.rules.keys.RuleKeyInput> inputs, CacheStatsTracker statsTracker)
-
-
-
Method Detail
-
get
@Nullable V get(BuildEngineAction action, CacheStatsTracker statsTracker)
-
get
V get(BuildEngineAction rule, java.util.function.Function<? super BuildEngineAction,RuleKeyResult<V>> create, CacheStatsTracker statsTracker)
-
get
V get(AddsToRuleKey appendable, java.util.function.Function<? super AddsToRuleKey,RuleKeyResult<V>> create, CacheStatsTracker statsTracker)
-
invalidateInputs
void invalidateInputs(Iterable<com.facebook.buck.rules.keys.RuleKeyInput> inputs, CacheStatsTracker statsTracker)
-
invalidateAllExceptFilesystems
void invalidateAllExceptFilesystems(com.google.common.collect.ImmutableSet<ProjectFilesystem> filesystems, CacheStatsTracker statsTracker)
-
invalidateFilesystem
void invalidateFilesystem(ProjectFilesystem filesystem, CacheStatsTracker statsTracker)
-
invalidateAll
void invalidateAll(CacheStatsTracker statsTracker)
-
-