Searched defs:register (Results 1 - 18 of 18) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/file/
H A DWatchable.java34 * <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 DPath.java60 * 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 DSelectableChannel.java37 * 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 DAbstractPath.java100 public final WatchKey register(WatchService watcher, method in class:AbstractPath
104 return register(watcher, events, new WatchEvent.Modifier[0]);
H A DAbstractWatchService.java65 abstract WatchKey register(Path path, method in class:AbstractWatchService
H A DAbstractPoller.java37 * 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 DPollingWatchService.java71 WatchKey register(final Path path, method in class:PollingWatchService
100 throw new IllegalArgumentException("No events to register");
H A DUnixPath.java887 public WatchKey register(WatchService watcher, method in class:UnixPath
897 return ((AbstractWatchService)watcher).register(this, events, modifiers);
H A DLinuxWatchService.java94 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 DSelectableChannelTest.java33 * @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 DMockAbstractSelector.java48 protected SelectionKey register(AbstractSelectableChannel arg0, int arg1, method in class:MockAbstractSelector
/libcore/ojluni/src/main/java/java/nio/channels/spi/
H A DAbstractSelector.java59 * 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 DAbstractSelectableChannel.java176 * 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 DPort.java64 final void register(int fd, PollableChannel ch) { method in class:Port
129 register(fdVal, new PollableChannel() {
H A DSelectorImpl.java123 protected final SelectionKey register(AbstractSelectableChannel ch, method in class:SelectorImpl
/libcore/ojluni/src/main/java/java/util/concurrent/
H A DPhaser.java50 * 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 DArrayBlockingQueue.java799 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 DObjectInputStream.java561 * 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

Completed in 202 milliseconds