Interface CacheEntry

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Serializable[] getDisassembledState()
      Get the underlying disassembled state todo : this was added to support initializing an entity's EntityEntry snapshot during reattach; this should be refactored to instead expose a method to assemble an EntityEntry based on this state for return.
      String getSubclass()
      Hibernate stores all entries pertaining to a given entity hierarchy in a single region.
      Object getVersion()
      Retrieves the version (optimistic locking) associated with this cache entry.
      boolean isReferenceEntry()
      Does this entry represent a direct entity reference (rather than disassembled state)?
    • Method Detail

      • isReferenceEntry

        boolean isReferenceEntry()
        Does this entry represent a direct entity reference (rather than disassembled state)?
        Returns:
        true/false
      • getSubclass

        String getSubclass()
        Hibernate stores all entries pertaining to a given entity hierarchy in a single region. This attribute tells us the specific entity type represented by the cached data.
        Returns:
        The entry's exact entity type.
      • getVersion

        Object getVersion()
        Retrieves the version (optimistic locking) associated with this cache entry.
        Returns:
        The version of the entity represented by this entry
      • getDisassembledState

        Serializable[] getDisassembledState()
        Get the underlying disassembled state todo : this was added to support initializing an entity's EntityEntry snapshot during reattach; this should be refactored to instead expose a method to assemble an EntityEntry based on this state for return.
        Returns:
        The disassembled state