Class PathWatcherThread

java.lang.Object
com.hypixel.hytale.server.core.asset.monitor.PathWatcherThread
All Implemented Interfaces:
Runnable

public class PathWatcherThread extends Object implements Runnable
  • Field Details

    • LOGGER

      public static final com.hypixel.hytale.logger.HytaleLogger LOGGER
    • HAS_FILE_TREE_SUPPORT

      public static final boolean HAS_FILE_TREE_SUPPORT
    • WATCH_EVENT_KINDS

      public static final WatchEvent.Kind<?>[] WATCH_EVENT_KINDS
    • consumer

      private final BiConsumer<Path,EventKind> consumer
    • thread

      @Nonnull private final Thread thread
    • service

      private final WatchService service
    • registered

      private final Map<Path,WatchKey> registered
  • Constructor Details

  • Method Details