Searched refs:register (Results 1 - 7 of 7) sorted by relevance

/libcore/luni/src/main/java/java/nio/channels/
H A DSelectableChannel.java25 * registered with a selector by calling one of the {@code register} methods,
45 * and {@code register} methods.
53 * other calls to this method or to a {@code register} method are executing.
122 * {@code register(selector, operations, null)}.
125 * the selector with which to register this channel.
141 public final SelectionKey register(Selector selector, int operations) method in class:SelectableChannel
143 return register(selector, operations, null);
161 * the selector with which to register this channel.
179 public abstract SelectionKey register(Selector sel, int ops, Object att) method in class:SelectableChannel
/libcore/luni/src/main/java/java/nio/channels/spi/
H A DAbstractSelectableChannel.java104 * registered, this method calls the {@code register} method of
108 * the selector with which to register this channel.
127 public final SelectionKey register(Selector selector, int interestSet, method in class:AbstractSelectableChannel
150 key = ((AbstractSelector) selector).register(this, interestSet, attachment);
205 * Gets the object used for the synchronization of {@code register} and
217 * other calls to this method or to {@code register} are executing. The
H A DAbstractSelector.java98 protected abstract SelectionKey register(AbstractSelectableChannel channel, method in class:AbstractSelector
/libcore/luni/src/test/java/libcore/java/nio/channels/
H A DSelectorTest.java45 SelectionKey key = sc.register(selector, SelectionKey.OP_CONNECT);
63 SelectionKey key = sc.register(selector, SelectionKey.OP_CONNECT);
/libcore/luni/src/main/java/java/util/concurrent/
H A DArrayBlockingQueue.java799 register(initial);
866 void register(Itr itr) { method in class:ArrayBlockingQueue.Itrs
1029 itrs.register(this); // in this order
H A DPhaser.java23 * methods {@link #register}, {@link #bulkRegister}, or forms of
81 * Similarly, attempts to register upon termination have no effect.
104 * constructor, {@link #register}, or {@link #bulkRegister}), the
127 * register, then start the actions, then deregister, as in:
131 * final Phaser phaser = new Phaser(1); // "1" to register self
134 * phaser.register();
157 * phaser.register();
159 * phaser.register();
173 * may re-register and then execute a similar loop:
176 * phaser.register();
562 public int register() { method in class:Phaser
[all...]
/libcore/luni/src/main/java/java/nio/
H A DSelectorImpl.java119 @Override protected SelectionKey register(AbstractSelectableChannel channel, method in class:SelectorImpl

Completed in 237 milliseconds