/libcore/ojluni/src/main/java/java/nio/file/ |
H A D | Watchable.java | 34 * <p> This interface defines the {@link #register register} method to register 42 * @see Path#register 89 WatchKey register(WatchService watcher, method in interface:Watchable 101 * watchable.{@link #register(WatchService,WatchEvent.Kind[],WatchEvent.Modifier[]) register}(watcher, events, new WatchEvent.Modifier[0]); 125 WatchKey register(WatchService watcher, WatchEvent.Kind<?>... events) method in interface:Watchable
|
H A D | Path.java | 60 * located by a path can be {@link #register registered} with a {@link 608 * register and may contain the following events: 661 WatchKey register(WatchService watcher, method in interface:Path 672 * watchable.{@link #register(WatchService,WatchEvent.Kind[],WatchEvent.Modifier[]) register}(watcher, events, new WatchEvent.Modifier[0]); 676 * Suppose we wish to register a directory for entry create, delete, and modify 682 * WatchKey key = dir.register(watcher, ENTRY_CREATE, ENTRY_DELETE, ENTRY_MODIFY); 709 WatchKey register(WatchService watcher, method in interface:Path
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
H A D | SelectableChannel.java | 37 * first be <i>registered</i> via the {@link #register(Selector,int,Object) 38 * register} method. This method returns a new {@link SelectionKey} object 219 public abstract SelectionKey register(Selector sel, int ops, Object att) method in class:SelectableChannel 238 * <blockquote><tt>sc.register(sel, ops)</tt></blockquote> 243 * #register(java.nio.channels.Selector,int,java.lang.Object) 244 * register}(sel, ops, null)</tt></blockquote> 277 public final SelectionKey register(Selector sel, int ops) method in class:SelectableChannel 280 return register(sel, ops, null); 296 * of the {@link #register(Selector, int) register} metho [all...] |
/libcore/ojluni/src/main/java/sun/nio/fs/ |
H A D | AbstractPath.java | 100 public final WatchKey register(WatchService watcher, method in class:AbstractPath 104 return register(watcher, events, new WatchEvent.Modifier[0]);
|
H A D | AbstractWatchService.java | 65 abstract WatchKey register(Path path, method in class:AbstractWatchService
|
H A D | AbstractPoller.java | 37 * also services "requests" from clients to register for new events or cancel 76 * Executed by poller thread to register directory for changes 93 * Requests, and waits on, poller thread to register given file. 95 final WatchKey register(Path dir, method in class:AbstractPoller 124 throw new IllegalArgumentException("No events to register");
|
H A D | PollingWatchService.java | 71 WatchKey register(final Path path, method in class:PollingWatchService 100 throw new IllegalArgumentException("No events to register");
|
H A D | UnixPath.java | 887 public WatchKey register(WatchService watcher, method in class:UnixPath 897 return ((AbstractWatchService)watcher).register(this, events, modifiers);
|
H A D | LinuxWatchService.java | 94 WatchKey register(Path dir, method in class:LinuxWatchService 100 return poller.register(dir, events, modifiers); 268 // register with inotify (replaces existing mask if already registered)
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
H A D | SelectableChannelTest.java | 33 * @tests SelectableChannel#register(Selector, int) 37 // Verify that calling register(Selector, int) leads to the method 38 // register(Selector, int, Object) being called with a null value 40 msc.register(Selector.open(), SelectionKey.OP_ACCEPT); 73 public SelectionKey register(Selector sel, int ops, Object att) method in class:SelectableChannelTest.MockSelectableChannel
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/ |
H A D | MockAbstractSelector.java | 48 protected SelectionKey register(AbstractSelectableChannel arg0, int arg1, method in class:MockAbstractSelector
|
/libcore/ojluni/src/main/java/java/nio/channels/spi/ |
H A D | AbstractSelector.java | 59 * declares the abstract {@link #register register} method that is invoked by a 60 * selectable channel's {@link AbstractSelectableChannel#register register} 160 * AbstractSelectableChannel#register register} method in order to perform 175 protected abstract SelectionKey register(AbstractSelectableChannel ch, method in class:AbstractSelector
|
H A D | AbstractSelectableChannel.java | 176 * selector, so the {@link AbstractSelector#register register} method of 191 public final SelectionKey register(Selector sel, int ops, method in class:AbstractSelectableChannel 212 k = ((AbstractSelector)sel).register(this, ops, att);
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | Port.java | 64 final void register(int fd, PollableChannel ch) { method in class:Port 129 register(fdVal, new PollableChannel() {
|
H A D | SelectorImpl.java | 123 protected final SelectionKey register(AbstractSelectableChannel ch, method in class:SelectorImpl
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
H A D | Phaser.java | 50 * methods {@link #register}, {@link #bulkRegister}, or forms of 109 * Similarly, attempts to register upon termination have no effect. 132 * constructor, {@link #register}, or {@link #bulkRegister}), the 155 * register, then start the actions, then deregister, as in: 159 * final Phaser phaser = new Phaser(1); // "1" to register self 162 * phaser.register(); 185 * phaser.register(); 187 * phaser.register(); 201 * may re-register and then execute a similar loop: 204 * phaser.register(); 587 public int register() { method in class:Phaser [all...] |
H A D | ArrayBlockingQueue.java | 799 register(initial); 866 void register(Itr itr) { method in class:ArrayBlockingQueue.Itrs 1029 itrs.register(this); // in this order
|
/libcore/ojluni/src/main/java/java/io/ |
H A D | ObjectInputStream.java | 561 * register the object with the stream so that when all of the objects are 570 * so it is invalid to register a callback. 579 vlist.register(obj, prio); 2236 void register(ObjectInputValidation obj, int priority) method in class:ObjectInputStream.ValidationList
|