Class FileChangeTask

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

public class FileChangeTask extends Object implements Runnable
  • Field Details

    • LOGGER

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

      private static final long FILE_SIZE_CHECK_DELAY_MILLIS
      See Also:
    • assetMonitor

      private final AssetMonitor assetMonitor
    • path

      @Nonnull private final Path path
    • pathEvent

      @Nonnull private final PathEvent pathEvent
    • createdOrModified

      private final boolean createdOrModified
    • task

      @Nonnull private final ScheduledFuture<?> task
    • lastSize

      private long lastSize
  • Constructor Details

  • Method Details

    • getAssetMonitor

      public AssetMonitor getAssetMonitor()
    • getPath

      @Nonnull public Path getPath()
    • getPathEvent

      @Nonnull public PathEvent getPathEvent()
    • run

      public void run()
      Specified by:
      run in interface Runnable
    • cancelSchedule

      public void cancelSchedule()
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class Object