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