JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
B
C
D
E
F
G
H
I
L
M
N
O
P
Q
R
T
U
V
W
B
build()
- Method in class io.methvin.watcher.
DirectoryWatcher.Builder
builder()
- Static method in class io.methvin.watcher.
DirectoryWatcher
Get a new builder for a
DirectoryWatcher
.
C
CarbonAPI
- Interface in
io.methvin.watchservice.jna
CarbonAPI.FSEventStreamCallback
- Interface in
io.methvin.watchservice.jna
cast(WatchEvent<?>)
- Static method in class io.methvin.watcher.
PathUtils
CFAllocatorRef
- Class in
io.methvin.watchservice.jna
CFAllocatorRef()
- Constructor for class io.methvin.watchservice.jna.
CFAllocatorRef
CFArrayCreate(CFAllocatorRef, Pointer[], CFIndex, Void)
- Method in interface io.methvin.watchservice.jna.
CarbonAPI
CFArrayRef
- Class in
io.methvin.watchservice.jna
CFArrayRef()
- Constructor for class io.methvin.watchservice.jna.
CFArrayRef
CFIndex
- Class in
io.methvin.watchservice.jna
CFIndex()
- Constructor for class io.methvin.watchservice.jna.
CFIndex
CFRunLoopGetCurrent()
- Method in interface io.methvin.watchservice.jna.
CarbonAPI
CFRunLoopRef
- Class in
io.methvin.watchservice.jna
CFRunLoopRef()
- Constructor for class io.methvin.watchservice.jna.
CFRunLoopRef
CFRunLoopRun()
- Method in interface io.methvin.watchservice.jna.
CarbonAPI
CFRunLoopStop(CFRunLoopRef)
- Method in interface io.methvin.watchservice.jna.
CarbonAPI
CFRunLoopThread(FSEventStreamRef, File)
- Constructor for class io.methvin.watchservice.
MacOSXListeningWatchService.CFRunLoopThread
CFStringCreateWithCharacters(Void, char[], CFIndex)
- Method in interface io.methvin.watchservice.jna.
CarbonAPI
CFStringRef
- Class in
io.methvin.watchservice.jna
CFStringRef()
- Constructor for class io.methvin.watchservice.jna.
CFStringRef
close()
- Method in class io.methvin.watcher.
DirectoryWatcher
close()
- Method in class io.methvin.watchservice.
MacOSXListeningWatchService
count()
- Method in class io.methvin.watcher.
DirectoryChangeEvent
createHashCodeMap(Path, FileHasher)
- Static method in class io.methvin.watcher.
PathUtils
createHashCodeMap(List<Path>, FileHasher)
- Static method in class io.methvin.watcher.
PathUtils
createKeyRootsMap()
- Static method in class io.methvin.watcher.
PathUtils
createKeyRootsSet()
- Static method in class io.methvin.watcher.
PathUtils
D
DEFAULT_FILE_HASHER
- Static variable in interface io.methvin.watcher.hashing.
FileHasher
DEFAULT_LATENCY
- Static variable in interface io.methvin.watchservice.
MacOSXListeningWatchService.Config
DEFAULT_QUEUE_SIZE
- Static variable in interface io.methvin.watchservice.
MacOSXListeningWatchService.Config
DirectoryChangeEvent
- Class in
io.methvin.watcher
DirectoryChangeEvent(DirectoryChangeEvent.EventType, Path, int)
- Constructor for class io.methvin.watcher.
DirectoryChangeEvent
DirectoryChangeEvent.EventType
- Enum in
io.methvin.watcher
DirectoryChangeListener
- Interface in
io.methvin.watcher
A listener that is called when file change events occur or when exceptions occur while watching.
DirectoryWatcher
- Class in
io.methvin.watcher
DirectoryWatcher(List<Path>, List<Path>, DirectoryChangeListener, WatchService, FileHasher, Logger)
- Constructor for class io.methvin.watcher.
DirectoryWatcher
DirectoryWatcher.Builder
- Class in
io.methvin.watcher
A builder for a
DirectoryWatcher
.
E
empty()
- Static method in class io.methvin.watcher.hashing.
HashCode
equals(Object)
- Method in class io.methvin.watcher.
DirectoryChangeEvent
equals(Object)
- Method in class io.methvin.watcher.hashing.
HashCode
eventType()
- Method in class io.methvin.watcher.
DirectoryChangeEvent
F
fileHasher(FileHasher)
- Method in class io.methvin.watcher.
DirectoryWatcher.Builder
Defines the file hasher to be used by the watcher.
FileHasher
- Interface in
io.methvin.watcher.hashing
A function to convert a Path to a hash code used to check if the file content is changed.
fileHasher()
- Method in interface io.methvin.watchservice.
MacOSXListeningWatchService.Config
The file hasher to use to verify files.
fileHashing(boolean)
- Method in class io.methvin.watcher.
DirectoryWatcher.Builder
Defines whether file hashing should be used to catch duplicate events.
files(List<Path>)
- Method in class io.methvin.watcher.
DirectoryWatcher.Builder
Set multiple files to watch.
fromBytes(byte[])
- Static method in class io.methvin.watcher.hashing.
HashCode
fromLong(long)
- Static method in class io.methvin.watcher.hashing.
HashCode
FSEventStreamCreate(Pointer, CarbonAPI.FSEventStreamCallback, Pointer, CFArrayRef, long, double, int)
- Method in interface io.methvin.watchservice.jna.
CarbonAPI
FSEventStreamRef
- Class in
io.methvin.watchservice.jna
FSEventStreamRef()
- Constructor for class io.methvin.watchservice.jna.
FSEventStreamRef
FSEventStreamScheduleWithRunLoop(FSEventStreamRef, CFRunLoopRef, CFStringRef)
- Method in interface io.methvin.watchservice.jna.
CarbonAPI
FSEventStreamStart(FSEventStreamRef)
- Method in interface io.methvin.watchservice.jna.
CarbonAPI
FSEventStreamStop(FSEventStreamRef)
- Method in interface io.methvin.watchservice.jna.
CarbonAPI
G
getFile()
- Method in class io.methvin.watchservice.
WatchablePath
getListener()
- Method in class io.methvin.watcher.
DirectoryWatcher
getRunLoop()
- Method in class io.methvin.watchservice.
MacOSXListeningWatchService.CFRunLoopThread
getStreamRef()
- Method in class io.methvin.watchservice.
MacOSXListeningWatchService.CFRunLoopThread
getValue()
- Method in class io.methvin.watcher.hashing.
Murmur3F
getValueBigInteger()
- Method in class io.methvin.watcher.hashing.
Murmur3F
Positive value.
getValueBytesBigEndian()
- Method in class io.methvin.watcher.hashing.
Murmur3F
getValueBytesLittleEndian()
- Method in class io.methvin.watcher.hashing.
Murmur3F
getValueHexString()
- Method in class io.methvin.watcher.hashing.
Murmur3F
Padded with leading 0s to ensure length of 32.
getValueHigh()
- Method in class io.methvin.watcher.hashing.
Murmur3F
Returns the higher 64 bits of the 128 bit hash.
getWatchEventKind()
- Method in enum io.methvin.watcher.
DirectoryChangeEvent.EventType
H
hash(Path)
- Method in interface io.methvin.watcher.hashing.
FileHasher
hash(FileHasher, Path)
- Static method in class io.methvin.watcher.
PathUtils
hashCode()
- Method in class io.methvin.watcher.
DirectoryChangeEvent
HashCode
- Class in
io.methvin.watcher.hashing
A class representing the hash code of a file.
hashCode()
- Method in class io.methvin.watcher.hashing.
HashCode
I
INSTANCE
- Static variable in interface io.methvin.watchservice.jna.
CarbonAPI
invoke(FSEventStreamRef, Pointer, NativeLong, Pointer, Pointer, Pointer)
- Method in interface io.methvin.watchservice.jna.
CarbonAPI.FSEventStreamCallback
io.methvin.watcher
- package io.methvin.watcher
io.methvin.watcher.hashing
- package io.methvin.watcher.hashing
io.methvin.watchservice
- package io.methvin.watchservice
io.methvin.watchservice.jna
- package io.methvin.watchservice.jna
isRecursive()
- Method in class io.methvin.watchservice.
WatchablePath
isWatching()
- Method in interface io.methvin.watcher.
DirectoryChangeListener
The watcher will stop watching after this method returns false.
L
latency()
- Method in interface io.methvin.watchservice.
MacOSXListeningWatchService.Config
The maximum number of seconds to wait after hearing about an event
listener(DirectoryChangeListener)
- Method in class io.methvin.watcher.
DirectoryWatcher.Builder
Set a listener that will be called when a directory change event occurs.
logger(Logger)
- Method in class io.methvin.watcher.
DirectoryWatcher.Builder
Set a logger to be used by the watcher.
M
MacOSXListeningWatchService
- Class in
io.methvin.watchservice
This class contains the bulk of my implementation of the Watch Service API.
MacOSXListeningWatchService(MacOSXListeningWatchService.Config)
- Constructor for class io.methvin.watchservice.
MacOSXListeningWatchService
MacOSXListeningWatchService()
- Constructor for class io.methvin.watchservice.
MacOSXListeningWatchService
MacOSXListeningWatchService.CFRunLoopThread
- Class in
io.methvin.watchservice
MacOSXListeningWatchService.Config
- Interface in
io.methvin.watchservice
Configuration for the watch service.
Murmur3F
- Class in
io.methvin.watcher.hashing
Murmur3F (MurmurHash3_x64_128)
Murmur3F()
- Constructor for class io.methvin.watcher.hashing.
Murmur3F
Murmur3F(int)
- Constructor for class io.methvin.watcher.hashing.
Murmur3F
N
nonRecursiveListFiles(Path)
- Static method in class io.methvin.watcher.
PathUtils
O
onEvent(DirectoryChangeEvent)
- Method in interface io.methvin.watcher.
DirectoryChangeListener
onException(Exception)
- Method in interface io.methvin.watcher.
DirectoryChangeListener
A handler for uncaught exceptions.
P
path()
- Method in class io.methvin.watcher.
DirectoryChangeEvent
path(Path)
- Method in class io.methvin.watcher.
DirectoryWatcher.Builder
Set a single path to watch.
paths(List<Path>)
- Method in class io.methvin.watcher.
DirectoryWatcher.Builder
Set multiple paths to watch.
PathUtils
- Class in
io.methvin.watcher
PathUtils()
- Constructor for class io.methvin.watcher.
PathUtils
Q
queueSize()
- Method in interface io.methvin.watchservice.
MacOSXListeningWatchService.Config
The size of the queue used for each WatchKey
R
recursiveListFiles(Path)
- Static method in class io.methvin.watcher.
PathUtils
register(WatchablePath, Iterable<? extends WatchEvent.Kind<?>>)
- Method in class io.methvin.watchservice.
MacOSXListeningWatchService
register(WatchService, WatchEvent.Kind<?>[], WatchEvent.Modifier...)
- Method in class io.methvin.watchservice.
WatchablePath
register(WatchService, WatchEvent.Kind<?>...)
- Method in class io.methvin.watchservice.
WatchablePath
reset()
- Method in class io.methvin.watcher.hashing.
Murmur3F
run()
- Method in class io.methvin.watchservice.
MacOSXListeningWatchService.CFRunLoopThread
T
toCFString(String)
- Static method in class io.methvin.watchservice.jna.
CFStringRef
toString()
- Method in class io.methvin.watcher.
DirectoryChangeEvent
toString()
- Method in class io.methvin.watcher.hashing.
HashCode
toString()
- Method in class io.methvin.watchservice.
WatchablePath
U
update(int)
- Method in class io.methvin.watcher.hashing.
Murmur3F
update(byte[])
- Method in class io.methvin.watcher.hashing.
Murmur3F
update(byte[], int, int)
- Method in class io.methvin.watcher.hashing.
Murmur3F
V
valueOf(String)
- Static method in enum io.methvin.watcher.
DirectoryChangeEvent.EventType
Returns the enum constant of this type with the specified name.
valueOf(int)
- Static method in class io.methvin.watchservice.jna.
CFIndex
values()
- Static method in enum io.methvin.watcher.
DirectoryChangeEvent.EventType
Returns an array containing the constants of this enum type, in the order they are declared.
W
watch()
- Method in class io.methvin.watcher.
DirectoryWatcher
Watch the directories.
WatchablePath
- Class in
io.methvin.watchservice
WatchablePath(Path, boolean)
- Constructor for class io.methvin.watchservice.
WatchablePath
watchAsync()
- Method in class io.methvin.watcher.
DirectoryWatcher
Asynchronously watch the directories using
ForkJoinPool.commonPool()
as the executor
watchAsync(Executor)
- Method in class io.methvin.watcher.
DirectoryWatcher
Asynchronously watch the directories.
watchService(WatchService)
- Method in class io.methvin.watcher.
DirectoryWatcher.Builder
Set a
WatchService
implementation that will be used by the watcher.
B
C
D
E
F
G
H
I
L
M
N
O
P
Q
R
T
U
V
W
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes