Class PersistedCollectionMemberGraphImpl

java.lang.Object
com.ptc.core.percol.PersistedCollectionMemberGraphImpl
All Implemented Interfaces:
Serializable, PersistedCollectionMemberGraph

public class PersistedCollectionMemberGraphImpl extends Object implements PersistedCollectionMemberGraph, Serializable
Graph representation of the collected members of a persisted collection. The roots of the graph are the seeds of the collection (i.e., the initially selected objects). The parent-child relationships represent the navigation path used to collect all members during the last refresh operation. The graph is guaranteed not to contain any cycles, but there may be several paths to any given member.

** IMPORTANT **
For very large graphs it is the caller's responsibility to properly manage performance and memory by inflating member references in chunks, rather than one-at-a-time or all-at-once, and deflating each chunk before inflating the next one. The depth-first navigation iterator provided by this class offers an inflate option to assist with memory management and performance.



Supported API: true

Extendable: false

See Also:
  • wt.facade.persistedcollection.PersistedCollectionMemberNode
  • wt.facade.persistedcollection.PersistedCollectionService#getMemberGraph(wt.facade.persistedcollection.PersistedCollectableHolder, java.lang.String, java.util.Locale)
  • Serialized Form