Class SyncLogWriter


  • public class SyncLogWriter
    extends java.lang.Object
    SyncLogger is used to manage the persistent information in the sync module. Persistent information can be recovered on reboot via SyncLogReader.
    • Method Detail

      • getBufferedWriter

        public void getBufferedWriter()
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • addPipeSink

        public void addPipeSink​(CreatePipeSinkPlan plan)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • addPipeSink

        public void addPipeSink​(CreatePipeSinkStatement createPipeSinkStatement)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • dropPipeSink

        public void dropPipeSink​(java.lang.String pipeSinkName)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • addPipe

        public void addPipe​(CreatePipePlan plan,
                            long pipeCreateTime)
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • addPipe

        public void addPipe​(CreatePipeStatement createPipeStatement,
                            long pipeCreateTime)
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • operatePipe

        public void operatePipe​(java.lang.String pipeName,
                                StatementType type)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • writePipeMsg

        public void writePipeMsg​(java.lang.String pipeIdentifier,
                                 PipeMessage pipeMessage)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • comsumePipeMsg

        public void comsumePipeMsg​(java.lang.String pipeIdentifier)
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Throws:
        java.io.IOException