| Modifier and Type | Method and Description |
|---|---|
Files.TailLinesBlockingBuilder |
blocking()
Uses blocking
WatchService.take() under the covers. |
Files.TailLinesUsingCustomEventsBuilder |
events(io.reactivex.Observable<WatchEvent<?>> events)
Specifies a custom source of
WatchEvents. |
Files.TailLinesNonBlockingBuilder |
nonBlocking()
Uses
WatchService.poll() under the covers. |
public Files.TailLinesNonBlockingBuilder nonBlocking()
WatchService.poll() under the covers.public Files.TailLinesBlockingBuilder blocking()
WatchService.take() under the covers.public Files.TailLinesUsingCustomEventsBuilder events(io.reactivex.Observable<WatchEvent<?>> events)
WatchEvents.events - custom source of WatchEvents.Copyright © 2018s–2019. All rights reserved.