接口 MutabilityPlan<T>

    • 方法详细资料

      • isMutable

        boolean isMutable()
        Can the internal state of instances of T be changed?
        返回:
        True if the internal state can be changed; false otherwise.
      • deepCopy

        T deepCopy​(T value)
        Return a deep copy of the value.
        参数:
        value - The value to deep copy
        返回:
        The deep copy.
      • assemble

        T assemble​(Serializable cached)
        Assemble a previously disassembled value. This is used when pulling values from the second level cache. Compliment to disassemble(T)
        参数:
        cached - The disassembled state
        返回:
        The re-assembled value.
        另请参阅:
        disassemble(T)