You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/org/apache/commons/io/input/Tailer.java
+6-7Lines changed: 6 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -246,14 +246,13 @@ public Builder setExecutorService(final ExecutorService executorService) {
246
246
}
247
247
248
248
/**
249
-
* Sets ignoreTouch behaviour
250
-
*
251
-
* @param ignoreTouch This can be useful when your watched file gets touched (meaning it gets more recent timestamps
252
-
* without changing the file) for some reason or when you are working on file systems where timestamp
253
-
* is updated before content.
254
-
* The default behaviour (ignoreTouch=false) would then reissue the whole current file, while
255
-
* ignoreTouch=true does nothing in that case.
249
+
* Sets whether a change in timestamp causes the file to be re-read.
250
+
* <p>
251
+
* Useful when your watched file gets touched (the timestamps is more recent without changing the file) or when a file system updates a timestamp before
252
+
* a file's content. The default (false) re-reads the current file, while true does nothing.
253
+
* </p>
256
254
*
255
+
* @param ignoreTouch Whether a change in timestamp causes the file to be re-read.
0 commit comments