Class SavedState


  • public class SavedState
    extends Object
    Definition of the saved state of a Persistable object. Used during the rollback process.
    • Field Detail

      • pc

        protected Persistable pc
        Copy (shallow) of the Persistable instance when the instance is enlisted in the transaction.
      • persistenceFlags

        protected byte persistenceFlags
        Flags of the persistable instance when the instance is enlisted in the transaction.
      • loadedFields

        protected boolean[] loadedFields
        Loaded fields of the persistable instance when the instance is enlisted in the transaction.
    • Constructor Detail

      • SavedState

        public SavedState​(Persistable pc,
                          boolean[] loadedFields,
                          byte persistenceFlags)
    • Method Detail

      • getPersistenceFlags

        public byte getPersistenceFlags()
      • setPersistenceFlags

        public void setPersistenceFlags​(byte persistenceFlags)
      • getLoadedFields

        public boolean[] getLoadedFields()
      • setLoadedFields

        public void setLoadedFields​(boolean[] loadedFields)