File tree Expand file tree Collapse file tree
src/java/org/apache/commons/io/input Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ public interface TailerListener {
3333
3434 /**
3535 * This method is called if the tailed file is not found.
36+ * <p>
37+ * <b>Note:</b> this is called from the tailer thread.
3638 */
3739 public void fileNotFound ();
3840
@@ -41,17 +43,23 @@ public interface TailerListener {
4143 *
4244 * This method is called before the file is reopened, and fileNotFound may
4345 * be called if the new file has not yet been created.
46+ * <p>
47+ * <b>Note:</b> this is called from the tailer thread.
4448 */
4549 public void fileRotated ();
4650
4751 /**
4852 * Handles a line from a Tailer.
53+ * <p>
54+ * <b>Note:</b> this is called from the tailer thread.
4955 * @param line the line.
5056 */
5157 public void handle (String line );
5258
5359 /**
5460 * Handles an Exception .
61+ * <p>
62+ * <b>Note:</b> this is called from the tailer thread.
5563 * @param ex the exception.
5664 */
5765 public void handle (Exception ex );
You can’t perform that action at this time.
0 commit comments