public class FileChangeTask implements Runnable
Class FileChangeTask. Provides filechangetask functionality for the Hytale server.
java.lang.Object > FileChangeTask
Field Summary
lastSize
private
long
lastSize
Field lastSize.
fileAttributes
final
BasicFileAttributes
fileAttributes
Field fileAttributes.
size
final
long
size
Field size.
Method Detail
FileChangeTask
public
public
FileChangeTask
(final AssetMonitor assetMonitor, @Nonnull final Path path, @Nonnull final PathEvent pathEvent)
Method FileChangeTask.
- Parameters:
final AssetMonitorassetMonitor@Nonnull final Pathpath@Nonnull final PathEventpathEvent
getPath
public
Path
getPath
()
Method getPath.
run
public
void
run
()
Method run.
SkipSentryException
public
new
SkipSentryException
(e)
Method SkipSentryException.
- Parameters:
ee
cancelSchedule
public
void
cancelSchedule
()
Method cancelSchedule.
toString
public
String
toString
()
Method toString.