FileChangeTask

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 AssetMonitor assetMonitor
@Nonnull final Path path
@Nonnull final PathEvent pathEvent

getAssetMonitor

public AssetMonitor getAssetMonitor ()

Method getAssetMonitor.

getPath

public Path getPath ()

Method getPath.

getPathEvent

public PathEvent getPathEvent ()

Method getPathEvent.

run

public void run ()

Method run.

SkipSentryException

public new SkipSentryException (e)

Method SkipSentryException.

Parameters:
e e

cancelSchedule

public void cancelSchedule ()

Method cancelSchedule.

toString

public String toString ()

Method toString.