Class EndXact

    • Method Detail

      • 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
      • 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).
      • doMe

        public void doMe​(Transaction xact,
                         LogInstant instant,
                         LimitObjectInput in)
        Apply the change indicated by this operation and optional data.
        Specified by:
        doMe in interface Loggable
        Parameters:
        xact - the Transaction
        instant - the log instant of this operation
        in - optional data
      • 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. EndXact has no optional data to write out
        Specified by:
        getPreparedLog in interface Loggable
        See Also:
        ObjectOutput
      • group

        public int group()
        EndXact is a RAWSTORE log record.
        Specified by:
        group in interface Loggable
      • toString

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