Java java.nio.file WatchService fields, constructors, methods, implement or subclass

Example usage for Java java.nio.file WatchService fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.nio.file WatchService.

The text is from its open source code.

Method

voidclose()
Closes this watch service.
WatchKeypoll(long timeout, TimeUnit unit)
Retrieves and removes the next watch key, waiting if necessary up to the specified wait time if none are yet present.
WatchKeytake()
Retrieves and removes next watch key, waiting if none are yet present.