Class CollectionCacheEntry

    • Constructor Detail

      • CollectionCacheEntry

        public CollectionCacheEntry​(PersistentCollection<?> collection,
                                    CollectionPersister persister)
        Constructs a CollectionCacheEntry
        Parameters:
        collection - The persistent collection instance
        persister - The collection persister
    • Method Detail

      • getState

        public Serializable[] getState()
        Retrieve the cached collection state.
        Returns:
        The cached collection state.
      • assemble

        public void assemble​(PersistentCollection<?> collection,
                             CollectionPersister persister,
                             Object owner)
        Assembles the collection from the cached state.
        Parameters:
        collection - The persistent collection instance being assembled
        persister - The collection persister
        owner - The collection owner instance