Class LogRecord

java.lang.Object
com.swiftmq.impl.store.standard.log.LogOperation
com.swiftmq.impl.store.standard.log.LogRecord
Direct Known Subclasses:
AbortLogRecord, CommitLogRecord, StartLogRecord

public abstract class LogRecord extends LogOperation
  • Field Details

  • Constructor Details

    • LogRecord

      public LogRecord(long txId, Semaphore semaphore, List journal, CacheReleaseListener cacheReleaseListener, AsyncCompletionCallback callback, List messagePageRefs)
  • Method Details

    • create

      public static LogRecord create(int type)
    • getTxId

      public long getTxId()
    • getSemaphore

      public Semaphore getSemaphore()
    • getLogType

      public abstract int getLogType()
    • getJournal

      public List getJournal()
    • getCacheReleaseListener

      public CacheReleaseListener getCacheReleaseListener()
    • getCallback

      public AsyncCompletionCallback getCallback()
    • getMessagePageRefs

      public List getMessagePageRefs()
    • isComplete

      public boolean isComplete()
    • getMagic

      public long getMagic()
    • setMagic

      public void setMagic(long magic)
    • writeContent

      public void writeContent(DataOutput out) throws IOException
      Throws:
      IOException
    • writeContent

      public void writeContent(DataOutput out, boolean includeMagic) throws IOException
      Throws:
      IOException
    • readContent

      public void readContent(DataInput in) throws IOException
      Throws:
      IOException
    • readContent

      public void readContent(DataInput in, boolean includeMagic) throws IOException
      Throws:
      IOException
    • toString

      public String toString()
      Overrides:
      toString in class Object