Home | History | Annotate | Download | only in channels

Lines Matching refs:keys

26  * {@link SelectionKey} that represents the registration. The keys are also
27 * added to the selector's key set. Selection keys can be canceled so that the
30 * By invoking the {@code select} method, the key set is checked and all keys
32 * canceled keys. During the select operation, the channels registered with this
59 * {@link #wakeup()} method of this selector is called. After this, all keys
81 * Gets the set of registered keys. The set is immutable and is not thread-
84 * @return the set of registered keys.
86 public abstract Set<SelectionKey> keys();
130 * Gets the selection keys whose channels are ready for operation. The set
131 * is not thread-safe and no keys may be added to it. Removing keys is
134 * @return the selection keys whose channels are ready for operation.