类 ImmutableMutabilityPlan<T>
- java.lang.Object
-
- org.hibernate.type.descriptor.java.ImmutableMutabilityPlan<T>
-
- 所有已实现的接口:
Serializable,MutabilityPlan<T>
public class ImmutableMutabilityPlan<T> extends Object implements MutabilityPlan<T>
Mutability plan for immutable objects- 作者:
- Steve Ebersole
- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 static ImmutableMutabilityPlanINSTANCE
-
构造器概要
构造器 构造器 说明 ImmutableMutabilityPlan()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Tassemble(Serializable cached)Assemble a previously disassembled value.TdeepCopy(T value)Return a deep copy of the value.Serializabledisassemble(T value)Return a "disassembled" representation of the value.booleanisMutable()Can the internal state of instances of T be changed?
-
-
-
字段详细资料
-
INSTANCE
public static final ImmutableMutabilityPlan INSTANCE
-
-
方法详细资料
-
isMutable
public boolean isMutable()
从接口复制的说明:MutabilityPlanCan the internal state of instances of T be changed?- 指定者:
isMutable在接口中MutabilityPlan<T>- 返回:
- True if the internal state can be changed; false otherwise.
-
deepCopy
public T deepCopy(T value)
从接口复制的说明:MutabilityPlanReturn a deep copy of the value.- 指定者:
deepCopy在接口中MutabilityPlan<T>- 参数:
value- The value to deep copy- 返回:
- The deep copy.
-
disassemble
public Serializable disassemble(T value)
从接口复制的说明:MutabilityPlanReturn a "disassembled" representation of the value. This is used to push values onto the second level cache. Compliment toMutabilityPlan.assemble(java.io.Serializable)- 指定者:
disassemble在接口中MutabilityPlan<T>- 参数:
value- The value to disassemble- 返回:
- The disassembled value.
- 另请参阅:
MutabilityPlan.assemble(java.io.Serializable)
-
assemble
public T assemble(Serializable cached)
从接口复制的说明:MutabilityPlanAssemble a previously disassembled value. This is used when pulling values from the second level cache. Compliment toMutabilityPlan.disassemble(T)- 指定者:
assemble在接口中MutabilityPlan<T>- 参数:
cached- The disassembled state- 返回:
- The re-assembled value.
- 另请参阅:
MutabilityPlan.disassemble(T)
-
-