Package org.jgrapes.util.events
Class WatchFile
- All Implemented Interfaces:
- Future<Void>,- Associator,- Eligible
Registers a path to be watched with a 
FileSystemWatcher.- 
Nested Class SummaryNested classes/interfaces inherited from interface java.util.concurrent.FutureFuture.State
- 
Field SummaryFields inherited from class org.jgrapes.core.internal.EventBasecompleted, completionEvents, invokedFor
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.jgrapes.core.EventaddCompletionEvent, associated, cancel, channels, channels, completionEvents, currentResults, defaultCriterion, forChannels, get, get, handled, handlingError, isCancelled, isDone, isEligibleFor, isStopped, processedBy, results, results, resumeHandling, setAssociated, setChannels, setRequiresResult, setResult, stop, suspendHandling, suspendHandling, tieTo, toStringMethods inherited from class org.jgrapes.core.internal.EventBasedisableTracking, enqueued, firstResultAssigned, isTracked, onCompletionMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jgrapes.core.Associatorassociated, associated, associated, associatedGetMethods inherited from interface java.util.concurrent.FutureexceptionNow, resultNow, state
- 
Constructor Details- 
WatchFileCreates a new instance.- Parameters:
- path- the file’s path
 
 
- 
- 
Method Details- 
pathReturn’s the event’s path.- Returns:
- the path
 
 
-