public class UnskippedBuildEngineActionTracker extends Object
BuildEngineAction that either were already executed or might
be executed in the future. This class assumes that a BuildEngineAction that was not yet
executed might be executed in the future if either there is a dependency path from a top level
BuildEngineAction to this BuildEngineAction such that no rule on the path was yet
executed or the rule is a runtime dependency of a rule fulfilling the previous condition. This
model is consistent with CachingBuildEngine's
shallow build mode. The class uses reference counting to efficiently keep track of those BuildEngineAction.| Constructor and Description |
|---|
UnskippedBuildEngineActionTracker(RuleDepsCache ruleDepsCache,
BuildRuleResolver ruleResolver) |
| Modifier and Type | Method and Description |
|---|---|
void |
markRuleAsUsed(BuildEngineAction action,
BuckEventBus eventBus) |
void |
registerTopLevelRule(BuildEngineAction action,
BuckEventBus eventBus) |
public UnskippedBuildEngineActionTracker(RuleDepsCache ruleDepsCache, BuildRuleResolver ruleResolver)
public void registerTopLevelRule(BuildEngineAction action, BuckEventBus eventBus)
public void markRuleAsUsed(BuildEngineAction action, BuckEventBus eventBus)