public class PathWatcher.PathWatchEvent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) long |
checked |
private PathWatcher.Config |
config |
(package private) long |
length |
(package private) long |
modified |
private java.nio.file.Path |
path |
private PathWatcher.PathWatchEventType |
type |
Constructor and Description |
---|
PathWatchEvent(java.nio.file.Path path,
PathWatcher.PathWatchEventType type,
PathWatcher.Config config) |
PathWatchEvent(java.nio.file.Path path,
java.nio.file.WatchEvent<java.nio.file.Path> event,
PathWatcher.Config config) |
Modifier and Type | Method and Description |
---|---|
private void |
check() |
boolean |
equals(java.lang.Object obj) |
PathWatcher.Config |
getConfig() |
int |
getCount()
Deprecated.
|
java.nio.file.Path |
getPath() |
PathWatcher.PathWatchEventType |
getType() |
int |
hashCode() |
boolean |
isQuiet(long now,
long quietTime) |
void |
modified() |
long |
toQuietCheck(long now,
long quietTime) |
java.lang.String |
toString() |
private final java.nio.file.Path path
private final PathWatcher.PathWatchEventType type
private final PathWatcher.Config config
long checked
long modified
long length
public PathWatchEvent(java.nio.file.Path path, PathWatcher.PathWatchEventType type, PathWatcher.Config config)
public PathWatchEvent(java.nio.file.Path path, java.nio.file.WatchEvent<java.nio.file.Path> event, PathWatcher.Config config)
public PathWatcher.Config getConfig()
private void check()
public boolean isQuiet(long now, long quietTime)
public long toQuietCheck(long now, long quietTime)
public void modified()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public java.nio.file.Path getPath()
public PathWatcher.PathWatchEventType getType()
@Deprecated public int getCount()
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()