Searched refs:WatchKey (Results 1 - 22 of 22) sorted by relevance
/openjdk7/jdk/src/share/classes/java/nio/file/ |
H A D | WatchService.java | 39 * its {@link Watchable#register register} method, returning a {@link WatchKey} 45 * invokes the key's {@link WatchKey#reset reset} method to reset the key which 49 * {@link WatchKey#cancel cancel} method. A key that is queued at the time that 69 * discards events then it arranges for the key's {@link WatchKey#pollEvents 116 * valid keys associated with this watch service are {@link WatchKey#isValid 139 WatchKey poll(); 159 WatchKey poll(long timeout, TimeUnit unit) 173 WatchKey take() throws InterruptedException;
|
H A D | Watchable.java | 35 * the object with a {@link WatchService} returning a {@link WatchKey} to 38 * key's {@link WatchKey#cancel cancel} method. 89 WatchKey register(WatchService watcher, 125 WatchKey register(WatchService watcher, WatchEvent.Kind<?>... events)
|
H A D | WatchKey.java | 60 * WatchKey key = watcher.take(); 84 public interface WatchKey { interface
|
H A D | Path.java | 661 WatchKey register(WatchService watcher, 682 * WatchKey key = dir.register(watcher, ENTRY_CREATE, ENTRY_DELETE, ENTRY_MODIFY); 709 WatchKey register(WatchService watcher,
|
/openjdk7/jdk/src/share/classes/sun/nio/fs/ |
H A 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, 71 final void enqueueKey(WatchKey key) { 87 private void checkKey(WatchKey key) { 96 public final WatchKey poll() { 98 WatchKey key = pendingKeys.poll(); 104 public final WatchKey poll(long timeout, TimeUnit unit) 108 WatchKey ke [all...] |
H A D | AbstractPoller.java | 85 abstract void implCancelKey(WatchKey key); 95 final WatchKey register(Path dir, 128 return (WatchKey)invoke(RequestType.REGISTER, dir, eventSet, modifiers); 134 final void cancel(WatchKey key) { 268 WatchKey key = (WatchKey)params[0];
|
H A D | AbstractPath.java | 100 public final WatchKey register(WatchService watcher,
|
H A D | AbstractWatchKey.java | 35 abstract class AbstractWatchKey implements WatchKey {
|
H A D | PollingWatchService.java | 71 WatchKey register(final Path path, 226 * WatchKey implementation that encapsulates a map of the entries of the
|
/openjdk7/jdk/test/java/nio/file/WatchService/ |
H A D | FileTreeModifier.java | 44 WatchKey key; 69 WatchKey key = top.register(watcher, 79 WatchKey k = top.register(watcher, 99 WatchKey nextKey; 106 throw new RuntimeException("WatchKey not expected to be polled");
|
H A D | Basic.java | 44 static void checkKey(WatchKey key, Path dir) { 51 static void takeExpectedKey(WatchService watcher, WatchKey expected) { 53 WatchKey key; 91 WatchKey myKey = dir.register(watcher, 114 WatchKey deleteKey = dir.register(watcher, 138 WatchKey newKey = dir.register(watcher, 169 WatchKey myKey = dir.register(watcher, 184 WatchKey key = watcher.poll(3000, TimeUnit.MILLISECONDS); 210 WatchKey myKey = subdir.register(watcher, 276 WatchKey ke [all...] |
H A D | LotsOfEvents.java | 94 WatchKey key = watcher.poll(15, TimeUnit.SECONDS); 166 WatchKey key = watcher.poll(15, TimeUnit.SECONDS);
|
H A D | SensitivityModifier.java | 88 WatchKey key = watcher.take();
|
/openjdk7/jdk/src/share/sample/nio/file/ |
H A D | WatchDir.java | 67 WatchKey key = dir.register(watcher, ENTRY_CREATE, ENTRY_DELETE, ENTRY_MODIFY); 116 WatchKey key;
|
/openjdk7/jdk/src/windows/classes/sun/nio/fs/ |
H A D | WindowsWatchService.java | 66 WatchKey register(Path path, 82 * Windows implementation of WatchKey. 106 // completion key (used to map I/O completion to WatchKey) 277 // maps completion key to WatchKey 280 // maps file key to WatchKey 439 void implCancelKey(WatchKey obj) { 538 // map completionKey to get WatchKey
|
H A D | WindowsPath.java | 841 public WatchKey register(WatchService watcher,
|
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/ |
H A D | LinuxWatchService.java | 81 WatchKey register(Path dir, 97 * WatchKey implementation 277 void implCancelKey(WatchKey obj) {
|
H A D | SolarisWatchService.java | 110 WatchKey register(Path dir, 126 * WatchKey implementation 237 // maps file key (dev/inode) to WatchKey 324 void implCancelKey(WatchKey obj) {
|
H A D | UnixPath.java | 887 public WatchKey register(WatchService watcher,
|
/openjdk7/jdk/test/java/nio/file/Files/ |
H A D | PassThroughFileSystem.java | 523 public WatchKey register(WatchService watcher, 531 public WatchKey register(WatchService watcher,
|
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ |
H A D | ZipPath.java | 580 public WatchKey register( 591 public WatchKey register(WatchService watcher, WatchEvent.Kind<?>... events) {
|
/openjdk7/jdk/make/java/nio/ |
H A D | FILES_java.gmk | 122 java/nio/file/WatchKey.java \
|
Completed in 103 milliseconds