Class UpdatePortionLogAction


  • public class UpdatePortionLogAction
    extends LogAction
    • Constructor Detail

      • UpdatePortionLogAction

        public UpdatePortionLogAction​(int pageNo,
                                      int offset,
                                      byte[] beforeImage,
                                      byte[] afterImage)
        Parameters:
        pageNo -
        offset -
        beforeImage -
        afterImage -
    • Method Detail

      • getType

        public int getType()
        Specified by:
        getType in class LogAction
        Returns:
      • getPageNo

        public int getPageNo()
        Returns:
      • getOffset

        public int getOffset()
        Returns:
      • getBeforeImage

        public byte[] getBeforeImage()
        Returns:
      • getAfterImage

        public byte[] getAfterImage()
        Returns:
      • writeContent

        protected void writeContent​(java.io.DataOutput out)
                             throws java.io.IOException
        Specified by:
        writeContent in class LogAction
        Parameters:
        out -
        Throws:
        java.io.IOException
      • readContent

        protected void readContent​(java.io.DataInput in)
                            throws java.io.IOException
        Specified by:
        readContent in class LogAction
        Parameters:
        in -
        Throws:
        java.io.IOException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object