类 CollectionCacheEntry
- java.lang.Object
-
- org.hibernate.cache.spi.entry.CollectionCacheEntry
-
- 所有已实现的接口:
Serializable
public class CollectionCacheEntry extends Object implements Serializable
Cacheable representation of persistent collections- 作者:
- Gavin King
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 CollectionCacheEntry(PersistentCollection collection, CollectionPersister persister)Constructs a CollectionCacheEntry
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidassemble(PersistentCollection collection, CollectionPersister persister, Object owner)Assembles the collection from the cached state.Serializable[]getState()Retrieve the cached collection state.StringtoString()
-
-
-
构造器详细资料
-
CollectionCacheEntry
public CollectionCacheEntry(PersistentCollection collection, CollectionPersister persister)
Constructs a CollectionCacheEntry- 参数:
collection- The persistent collection instancepersister- The collection persister
-
-
方法详细资料
-
getState
public Serializable[] getState()
Retrieve the cached collection state.- 返回:
- The cached collection state.
-
assemble
public void assemble(PersistentCollection collection, CollectionPersister persister, Object owner)
Assembles the collection from the cached state.- 参数:
collection- The persistent collection instance being assembledpersister- The collection persisterowner- The collection owner instance
-
-