Class AsyncRequestLogWriter

    • Constructor Detail

      • AsyncRequestLogWriter

        public AsyncRequestLogWriter()
      • AsyncRequestLogWriter

        public AsyncRequestLogWriter​(java.lang.String filename)
      • AsyncRequestLogWriter

        public AsyncRequestLogWriter​(java.lang.String filename,
                                     java.util.concurrent.BlockingQueue<java.lang.String> queue)
    • Method Detail

      • doStart

        protected void doStart()
                        throws java.lang.Exception
        Description copied from class: AbstractLifeCycle
        Method to override to start the lifecycle
        Overrides:
        doStart in class RequestLogWriter
        Throws:
        AbstractLifeCycle.StopException - If thrown, the lifecycle will immediately be stopped.
        java.lang.Exception - If there was a problem starting. Will cause a transition to FAILED state
      • doStop

        protected void doStop()
                       throws java.lang.Exception
        Description copied from class: AbstractLifeCycle
        Method to override to stop the lifecycle
        Overrides:
        doStop in class RequestLogWriter
        Throws:
        java.lang.Exception - If there was a problem stopping. Will cause a transition to FAILED state