Lines Matching refs:myKey
91 WatchKey myKey = dir.register(watcher,
93 checkKey(myKey, dir);
101 takeExpectedKey(watcher, myKey);
102 checkExpectedEvent(myKey.pollEvents(),
106 if (!myKey.reset())
116 if (deleteKey != myKey)
122 takeExpectedKey(watcher, myKey);
123 checkExpectedEvent(myKey.pollEvents(),
127 if (!myKey.reset())
140 if (newKey != myKey)
150 takeExpectedKey(watcher, myKey);
151 checkExpectedEvent(myKey.pollEvents(),
169 WatchKey myKey = dir.register(watcher,
171 checkKey(myKey, dir);
174 myKey.cancel();
210 WatchKey myKey = subdir.register(watcher,
215 takeExpectedKey(watcher, myKey);
218 if (myKey.reset())
220 if (myKey.isValid())