Interface PrefetchNodeStore
-
- All Known Implementing Classes:
CompositeNodeStore
public interface PrefetchNodeStoreExperimentalNodeStoreextension that allows prefetching of node states given a collection of paths.
-
-
Field Summary
Fields Modifier and Type Field Description static PrefetchNodeStoreNOOP
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprefetch(java.util.Collection<java.lang.String> paths, NodeState rootState)Make an attempt to prefetch node states for the given paths and hold them in a cache.
-
-
-
Field Detail
-
NOOP
static final PrefetchNodeStore NOOP
-
-
Method Detail
-
prefetch
void prefetch(java.util.Collection<java.lang.String> paths, NodeState rootState)Make an attempt to prefetch node states for the given paths and hold them in a cache.- Parameters:
paths- the paths of the node states to prefetch.rootState- the current root node state.
-
-