Class MacOsWatchThread

java.lang.Object
io.micronaut.scheduling.io.watch.DefaultWatchThread
io.micronaut.scheduling.io.watch.osx.MacOsWatchThread
All Implemented Interfaces:
LifeCycle<DefaultWatchThread>, Closeable, AutoCloseable

@Replaces(DefaultWatchThread.class) @Parallel @Requires(property="micronaut.io.watch.enabled",value="true",defaultValue="true") @Requires(condition=FileWatchCondition.class) @Requires(classes={io.methvin.watchservice.MacOSXListeningWatchService.class,com.sun.jna.Library.class}) @Singleton public class MacOsWatchThread extends DefaultWatchThread
Replaces the DefaultWatchThread for Mac OS X to use native file watch.
Since:
1.1.0
Author:
graemerocher