Interface TailerListener
- All Known Implementing Classes:
TailerListenerAdapter
-
Method Summary
Modifier and TypeMethodDescriptionvoidThis method is called if the tailed file is not found.voidCalled if a file rotation is detected.voidHandles an Exception.voidHandles a line from a Tailer.voidThe tailer will call this method during construction, giving the listener a method of stopping the tailer.
-
Method Details
-
fileNotFound
void fileNotFound()This method is called if the tailed file is not found.Note: this is called from the tailer thread.
-
fileRotated
void fileRotated()Called if a file rotation is detected. This method is called before the file is reopened, and fileNotFound may be called if the new file has not yet been created.Note: this is called from the tailer thread.
-
handle
-
handle
-
init
-