Class CompressSpacePageOperation

All Implemented Interfaces:
Externalizable, Serializable, Formatable, TypedFormat, Loggable, RePreparable, Undoable
Direct Known Subclasses:
CompressSpacePageOperation10_2

public class CompressSpacePageOperation extends PhysicalPageOperation
Log operation to implement compressing space from a container and returning it to the operating system.
See Also:
  • Field Details

    • newHighestPage

      protected int newHighestPage
      The new highest page on this allocation page. The number is the offset of the page in the array of pages maintained by this allocation page, for instance a value of 0 indicates all page except the first one are to be truncated. If all pages are truncated then the offset is set to -1.
    • num_pages_truncated

      protected int num_pages_truncated
      The number of allocated pages in this allocation page prior to the truncate. Note that all pages from NewHighestPage+1 through newHighestPage+num_pages_truncated should be FREE.
  • Constructor Details

    • CompressSpacePageOperation

      CompressSpacePageOperation(AllocPage allocPage, int highest_page, int num_truncated) throws StandardException
      Constructors for This class:
      Throws:
      StandardException
    • CompressSpacePageOperation

      public CompressSpacePageOperation()
      Public Methods of Formatable interface.
  • Method Details