public interface NodeBulkLoader
NodeRef
instances will be processed in
a data-intensive manner.Modifier and Type | Method and Description |
---|---|
void |
cacheNodes(List<org.alfresco.service.cmr.repository.NodeRef> nodeRefs)
Pre-cache data relevant to the given nodes.
|
void |
cacheNodesById(List<Long> nodeIds)
Pre-cache data relevant to the given nodes.
|
void |
clear()
FOR TESTING ONLY: Clears out node cache data
|
Set<Long> |
getCachedAncestors(List<Long> nodeIds)
Gets the current set of cached ancestors of the given list of nodes.
|
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.
|
Set<Long> getCachedAncestors(List<Long> nodeIds)
nodeIds
- a list of node IDs to visitvoid setCheckNodeConsistency()
void cacheNodes(List<org.alfresco.service.cmr.repository.NodeRef> nodeRefs)
nodeRefs
- the nodes that will be cached.void cacheNodesById(List<Long> nodeIds)
nodeIds
- the nodes that will be cached.void clear()
Copyright © 2005–2017 Alfresco Software. All rights reserved.