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
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Constructs a new
AbstractSelectionKey .
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Cancels this key.
|
||||||||||
|
Indicates whether this key is valid.
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
|||||||||||
![]() |
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.