IT. Expert System.

Java Standard Edition (SE)

AbstractSelectionKey


compact1, compact2, compact3
java.nio.channels.spi

Class AbstractSelectionKey



  • public abstract class AbstractSelectionKey
    extends SelectionKey
    Base implementation class for selection keys.

    This class tracks the validity of the key and implements cancellation.

    Since:
    1.4
    • Constructor Detail

      • AbstractSelectionKey

        protected AbstractSelectionKey()
        Initializes a new instance of this class.
    • Method Detail

      • isValid

        public final boolean isValid()
        Description copied from class: SelectionKey
        Tells whether or not this key is valid.

        A key is valid upon creation and remains so until it is cancelled, its channel is closed, or its selector is closed.

        Specified by:
        isValid in class SelectionKey
        Returns:
        true if, and only if, this key is valid
      • cancel

        public final void cancel()
        Cancels this key.

        If this key has not yet been cancelled then it is added to its selector's cancelled-key set while synchronized on that set.

        Specified by:
        cancel in class SelectionKey


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 881 / 158735859. Delta: 0.03368 с