Table of Contents

Interface IWatchService

Namespace
Java.Nio.File
Assembly
MASES.JNet.dll

.NET interface for TO BE DEFINED FROM USER

public interface IWatchService : ICloseable, IAutoCloseable

Methods

Close()

void Close()

Exceptions

IOException

Poll()

WatchKey Poll()

Returns

WatchKey

WatchKey

Poll(long, TimeUnit)

WatchKey Poll(long arg0, TimeUnit arg1)

Parameters

arg0 long

long

arg1 TimeUnit

TimeUnit

Returns

WatchKey

WatchKey

Exceptions

InterruptedException

Take()

WatchKey Take()

Returns

WatchKey

WatchKey

Exceptions

InterruptedException