接口 CacheEntryStructure

    • 方法详细资料

      • structure

        Object structure​(Object item)
        Convert the cache item into its "structured" form. Perfectly valid to return the item as-is.
        参数:
        item - The item to structure.
        返回:
        The structured form.
      • destructure

        Object destructure​(Object structured,
                           SessionFactoryImplementor factory)
        Convert the previous structured form of the item back into its item form.
        参数:
        structured - The structured form.
        factory - The session factory.
        返回:
        The item