Package org.eclipse.jetty.util
Class PathWatcher.PathWatchEvent
java.lang.Object
org.eclipse.jetty.util.PathWatcher.PathWatchEvent
- Enclosing class:
- PathWatcher
PathWatchEvent
Represents a file event. Reported to registered listeners.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) long
private final PathWatcher.Config
(package private) long
(package private) long
private final Path
private final PathWatcher.PathWatchEventType
-
Constructor Summary
ConstructorsConstructorDescriptionPathWatchEvent
(Path path, WatchEvent<Path> event, PathWatcher.Config config) PathWatchEvent
(Path path, PathWatcher.PathWatchEventType type, PathWatcher.Config config) -
Method Summary
-
Field Details
-
path
-
type
-
config
-
checked
long checked -
modified
long modified -
length
long length
-
-
Constructor Details
-
PathWatchEvent
-
PathWatchEvent
-
-
Method Details
-
getConfig
-
check
private void check() -
isQuiet
public boolean isQuiet(long now, long quietTime) -
toQuietCheck
public long toQuietCheck(long now, long quietTime) -
modified
public void modified() -
equals
-
getPath
-
getType
-
getCount
Deprecated. -
hashCode
public int hashCode() -
toString
-