public interface RuleKeyCacheScope<V> extends AutoCloseable
RuleKeyCache
for the duration of a build. Accessing a cache
via a RuleKeyCacheScope
inside of a try-resource block allows both pre-build and
post-build operations to always be run before and after using the cache.Modifier and Type | Method and Description |
---|---|
void |
close() |
TrackedRuleKeyCache<V> |
getCache() |
TrackedRuleKeyCache<V> getCache()
RuleKeyCache
.void close()
close
in interface AutoCloseable