Class LogAppender

  • All Implemented Interfaces:
    java.lang.Runnable

    public class LogAppender
    extends java.lang.Thread
    This component has the only thread that polls the queue with requests to write some entry into the cache store. It writes the records to append-only log files, inserts the entry position into TemporaryTable and queues the position to be persisted in Index.
    Author:
    Radim Vansa <rvansa@redhat.com>
    • Method Detail

      • setSeqId

        public void setSeqId​(long seqId)
      • pause

        public void pause()
                   throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • clearAndPause

        public void clearAndPause()
                           throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • resumeAfterPause

        public void resumeAfterPause()
      • run

        public void run()
      • stopOperations

        public void stopOperations()
                            throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException