|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface NodeBulkLoader
A component that pre-fetches cached data for the given nodes. Client code can use
this component when a list of NodeRef instances will be processed in
a data-intensive manner.
| Method Summary | |
|---|---|
void |
cacheNodes(java.util.List nodeRefs)
Pre-cache data relevant to the given nodes. |
void |
cacheNodesById(java.util.List nodeIds)
Pre-cache data relevant to the given nodes. |
void |
clear()
FOR TESTING ONLY: Clears out node cache data |
void |
setCheckNodeConsistency()
Transaction-scope setting to make the Node loader to guarantee the validity of all caches: some cache data will be reloaded; some cache data will be considered safe. |
| Method Detail |
|---|
void setCheckNodeConsistency()
void cacheNodes(java.util.List nodeRefs)
nodeRefs - the nodes that will be cached.void cacheNodesById(java.util.List nodeIds)
nodeIds - the nodes that will be cached.void clear()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||