Documentation of 'org.apache.derby.impl.store.raw.log.ChecksumOperation' Java class
ChecksumOperation
org.apache.derby.impl.store.raw.log

Class ChecksumOperation

  • All Implemented Interfaces:
    java.io.Externalizable, java.io.Serializable, Formatable, TypedFormat, Loggable


    public class ChecksumOperation
    extends java.lang.Object
    implements Loggable
    A Log Operation that represents a checksum for a group of log records that are written to the tranaction log file.
    See Also:
    Loggable, Serialized Form
    • Constructor Detail

      • ChecksumOperation

        public ChecksumOperation()
    • Method Detail

      • init

        public void init()
      • writeExternal

        public void writeExternal(java.io.ObjectOutput out)
                           throws java.io.IOException
        Specified by:
        writeExternal in interface java.io.Externalizable
        Throws:
        java.io.IOException
      • readExternal

        public void readExternal(java.io.ObjectInput in)
                          throws java.io.IOException,
                                 java.lang.ClassNotFoundException
        Specified by:
        readExternal in interface java.io.Externalizable
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
      • getStoredSize

        public int getStoredSize()
      • getTypeFormatId

        public int getTypeFormatId()
        Return my format identifier.
        Specified by:
        getTypeFormatId in interface TypedFormat
        Returns:
        The identifier. (A UUID stuffed in an array of 16 bytes).
      • getPreparedLog

        public ByteArray getPreparedLog()
        the default for prepared log is always null for all the operations that don't have optionalData. If an operation has optional data, the operation need to prepare the optional data for this method. Checksum has no optional data to write out
        Specified by:
        getPreparedLog in interface Loggable
      • group

        public int group()
        Checksum is a raw store operation
        Specified by:
        group in interface Loggable
      • toString

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

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.