Searched refs:WatchKey (Results 1 – 14 of 14) sorted by relevance
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | AbstractWatchService.java | 39 private final LinkedBlockingDeque<WatchKey> pendingKeys = 40 new LinkedBlockingDeque<WatchKey>(); 43 private final WatchKey CLOSE_KEY = 65 abstract WatchKey register(Path path, in register() 71 final void enqueueKey(WatchKey key) { in enqueueKey() 87 private void checkKey(WatchKey key) { in checkKey() 96 public final WatchKey poll() { in poll() 98 WatchKey key = pendingKeys.poll(); in poll() 104 public final WatchKey poll(long timeout, TimeUnit unit) in poll() 108 WatchKey key = pendingKeys.poll(timeout, unit); in poll() [all …]
|
D | AbstractPoller.java | 85 abstract void implCancelKey(WatchKey key); in implCancelKey() 95 final WatchKey register(Path dir, in register() 125 return (WatchKey)invoke(RequestType.REGISTER, dir, eventSet, modifiers); in register() 131 final void cancel(WatchKey key) { in cancel() 268 WatchKey key = (WatchKey)params[0]; in processRequests()
|
D | AbstractPath.java | 100 public final WatchKey register(WatchService watcher, in register()
|
D | LinuxWatchService.java | 33 import java.nio.file.WatchKey; 93 WatchKey register(Path dir, in register() 294 void implCancelKey(WatchKey obj) { in implCancelKey()
|
D | AbstractWatchKey.java | 35 abstract class AbstractWatchKey implements WatchKey {
|
D | PollingWatchService.java | 71 WatchKey register(final Path path, in register()
|
D | UnixPath.java | 887 public WatchKey register(WatchService watcher, in register()
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | WatchService.java | 139 WatchKey poll(); in poll() 159 WatchKey poll(long timeout, TimeUnit unit) in poll() 173 WatchKey take() throws InterruptedException; in take()
|
D | Watchable.java | 89 WatchKey register(WatchService watcher, in register() 125 WatchKey register(WatchService watcher, WatchEvent.Kind<?>... events) in register()
|
D | Path.java | 661 WatchKey register(WatchService watcher, in register() 709 WatchKey register(WatchService watcher, in register()
|
D | WatchKey.java | 84 public interface WatchKey { interface
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | WatchServiceTest.java | 33 import java.nio.file.WatchKey; 82 WatchKey expectedWatchKey, in assertWatchServiceEvent() 88 WatchKey watchKey = watchService.poll(2, TimeUnit.SECONDS); in assertWatchServiceEvent() 112 WatchKey directoryKey1 = directory.register(watchService, ALL_EVENTS_KINDS); in test_singleFile() 130 WatchKey doubleModifyKey = watchService.poll(); in test_singleFile() 156 WatchKey directoryKey1 = directory.register(watchService, events); in test_EventMask() 178 WatchKey directoryKey1 = directory.register(watchService, ALL_EVENTS_KINDS); in test_singleDirectory() 207 WatchKey directoryKey1 = directory.register(watchService, ALL_EVENTS_KINDS); in test_cancel() 237 WatchKey directoryKey1 = directory.register(watchService, ALL_EVENTS_KINDS); in test_removeTarget() 275 WatchKey directoryKey1 = directory1.register(watchService1, ALL_EVENTS_KINDS); in test_multipleKeys() [all …]
|
D | LinuxPathTest.java | 39 import java.nio.file.WatchKey; 371 WatchKey key = directory.register(watchService, events); in test_register$WatchService$WatchEvent_Kind() 470 WatchKey key = dirRoot.register(watchService, events, in test_register$WatchService$WatchEvent_Kind$WatchEvent_Modifier() 486 WatchKey key = dirRoot.register(null, events, in test_register$WatchService$WatchEvent_Kind$WatchEvent_Modifier_NPE() 492 WatchKey key = dirRoot.register(watchService, null, in test_register$WatchService$WatchEvent_Kind$WatchEvent_Modifier_NPE()
|
/libcore/ |
D | openjdk_java_files.mk | 486 ojluni/src/main/java/java/nio/file/WatchKey.java \
|