Example usage for Java java.nio.file WatchKey fields, constructors, methods, implement or subclass
The text is from its open source code.
void | cancel() Cancels the registration with the watch service. |
boolean | equals(Object obj) Indicates whether some other object is "equal to" this one. |
boolean | isValid() Tells whether or not this watch key is valid. |
List | pollEvents() Retrieves and removes all pending events for this watch key, returning a List of the events that were retrieved. |
boolean | reset() Resets this watch key. |
Watchable | watchable() Returns the object for which this watch key was created. |