classpublicPriority 3
FileChangeTask
com.hypixel.hytale.server.core.asset.monitor.FileChangeTask
implements Runnable
6
Methods
6
Public Methods
5
Fields
1
Constructors
Constants
longFILE_SIZE_CHECK_DELAY_MILLIS= 200L
HytaleLoggerLOGGER= HytaleLogger.forEnclosingClass()
Constructors
public
FileChangeTask(AssetMonitor assetMonitor, Path path, PathEvent pathEvent)throws IOException
Methods
Public Methods (6)
public
void cancelSchedule()public
AssetMonitor getAssetMonitor()public
Path getPath()@Nonnull
public
PathEvent getPathEvent()@Nonnull
public
void run()@Override
public
String toString()@Nonnull@Override
Fields
Private/Package Fields (5)
private
AssetMonitor assetMonitorprivate
boolean createdOrModifiedprivate
long lastSizeprivate
Path pathprivate
PathEvent pathEvent