Package org.eclipse.jetty.util
Class PathWatcher.PathWatchEvent
- java.lang.Object
-
- org.eclipse.jetty.util.PathWatcher.PathWatchEvent
-
- Enclosing class:
- PathWatcher
public class PathWatcher.PathWatchEvent extends Object
PathWatchEvent Represents a file event. Reported to registered listeners.
-
-
Constructor Summary
Constructors Constructor Description PathWatchEvent(Path path, WatchEvent<Path> event, PathWatcher.Config config)PathWatchEvent(Path path, PathWatcher.PathWatchEventType type, PathWatcher.Config config)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)PathWatcher.ConfiggetConfig()intgetCount()Deprecated.PathgetPath()PathWatcher.PathWatchEventTypegetType()inthashCode()booleanisQuiet(long now, long quietTime)voidmodified()longtoQuietCheck(long now, long quietTime)StringtoString()
-
-
-
Constructor Detail
-
PathWatchEvent
public PathWatchEvent(Path path, PathWatcher.PathWatchEventType type, PathWatcher.Config config)
-
PathWatchEvent
public PathWatchEvent(Path path, WatchEvent<Path> event, PathWatcher.Config config)
-
-
Method Detail
-
getConfig
public PathWatcher.Config getConfig()
-
isQuiet
public boolean isQuiet(long now, long quietTime)
-
toQuietCheck
public long toQuietCheck(long now, long quietTime)
-
modified
public void modified()
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classObject- See Also:
Object.equals(java.lang.Object)
-
getPath
public Path getPath()
-
getType
public PathWatcher.PathWatchEventType getType()
-
getCount
@Deprecated public int getCount()
Deprecated.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classObject- See Also:
Object.hashCode()
-
toString
public String toString()
- Overrides:
toStringin classObject- See Also:
Object.toString()
-
-