KIE NIO.2 :: Model 6.0.0.CR4

org.kie.commons.java.nio.file
Interface WatchService

All Superinterfaces:
Closeable

public interface WatchService
extends Closeable


Method Summary
 WatchKey poll()
           
 WatchKey poll(long timeout, TimeUnit unit)
           
 WatchKey take()
           
 
Methods inherited from interface org.kie.commons.java.nio.Closeable
close
 

Method Detail

poll

WatchKey poll()
              throws ClosedWatchServiceException
Throws:
ClosedWatchServiceException

poll

WatchKey poll(long timeout,
              TimeUnit unit)
              throws ClosedWatchServiceException,
                     InterruptedException
Throws:
ClosedWatchServiceException
InterruptedException

take

WatchKey take()
              throws ClosedWatchServiceException,
                     InterruptedException
Throws:
ClosedWatchServiceException
InterruptedException

KIE NIO.2 :: Model 6.0.0.CR4

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.