No examples for this method.
Frequently called with: [Clear]
-1
| java.lang.Object | ||
| ↳ | java.nio.channels.SelectionKey | |
| ↳ | java.nio.channels.spi.AbstractSelectionKey | |
AbstractSelectionKey is the base implementation class for selection keys. It implements validation and cancellation methods.
| [Expand]
Inherited Constants
|
|||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.nio.channels.SelectionKey
|
|||||||||||
| Protected Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Constructs a new
AbstractSelectionKey.
|
||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Cancels this key.
|
||||||||||
|
|
Indicates whether this key is valid.
|
||||||||||
| [Expand]
Inherited Methods
|
|||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.nio.channels.SelectionKey
|
|||||||||||
From class java.lang.Object
|
|||||||||||
Cancels this key.
A key that has been canceled is no longer valid. Calling this method on an already canceled key does nothing.
Indicates whether this key is valid. A key is valid as long as it has not been canceled.
true if this key has not been canceled, false otherwise.