Class LogTailer

  • All Implemented Interfaces:
    org.apache.commons.io.input.TailerListener

    public class LogTailer
    extends org.apache.commons.io.input.TailerListenerAdapter
    Created by Josh Gontijo on 5/1/17.
    • Constructor Summary

      Constructors 
      Constructor Description
      LogTailer​(java.lang.String filePath, boolean tailf, io.joshworks.snappy.sse.SseBroadcaster broadcaster)  
    • Method Summary

      Modifier and Type Method Description
      void handle​(java.lang.String line)  
      • Methods inherited from class org.apache.commons.io.input.TailerListenerAdapter

        endOfFileReached, fileNotFound, fileRotated, handle, init
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LogTailer

        public LogTailer​(java.lang.String filePath,
                         boolean tailf,
                         io.joshworks.snappy.sse.SseBroadcaster broadcaster)
    • Method Detail

      • handle

        public void handle​(java.lang.String line)
        Specified by:
        handle in interface org.apache.commons.io.input.TailerListener
        Overrides:
        handle in class org.apache.commons.io.input.TailerListenerAdapter