Uses of Class
org.apache.commons.io.input.Tailer.Builder
-
Uses of Tailer.Builder in org.apache.commons.io.input
Modifier and TypeMethodDescriptionstatic Tailer.Builder
Tailer.builder()
Constructs a newTailer.Builder
.Tailer.Builder.setDelayDuration
(Duration delayDuration) Sets the delay duration. null resets to the default delay of one second.Tailer.Builder.setExecutorService
(ExecutorService executorService) Sets the executor service to use when startThread is true.protected Tailer.Builder
Tailer.Builder.setOrigin
(AbstractOrigin<?, ?> origin) Sets the origin.Tailer.Builder.setReOpen
(boolean reOpen) Sets the re-open behavior.Tailer.Builder.setStartThread
(boolean startThread) Sets the daemon thread startup behavior.Tailer.Builder.setTailable
(Tailer.Tailable tailable) Sets the tailable.Tailer.Builder.setTailerListener
(TailerListener tailerListener) Sets the listener.Tailer.Builder.setTailFromEnd
(boolean end) Sets the tail start behavior.