public interface WatchService extends Closeable
WatchKey poll() throws ClosedWatchServiceException
ClosedWatchServiceException
WatchKey poll(long timeout, TimeUnit unit) throws ClosedWatchServiceException, InterruptedException
WatchKey take() throws ClosedWatchServiceException, InterruptedException
boolean isClose()
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.