In addition to interfaces that are used and implemented by users of XNIO, this package contains several utility classes which, while not required to write an XNIO application, simplify boilerplate tasks associated with low-level I/O operations.
| Modifier and Type | Interface and Description |
|---|---|
| public interface | |
| public interface | Cancellable
An operation which may be cancelled. |
| public interface | |
| public interface | |
| public interface | |
| public interface | |
| public interface | FileChangeCallback
Callback for file system change events |
| public interface | FileSystemWatcher
File system watcher service. |
| public interface | IoFuture<
the type of result that this operation produces T>The future result of an asynchronous request. |
| public interface | |
| public interface | |
| public interface | |
| public interface | |
| public interface | XnioExecutor
An executor with the capability to run timed, cancellable tasks. |
| public interface | XnioIoFactory
An XNIO I/O factory which can be used to create channels. |
| public interface | XnioProvider
An XNIO provider, used by the service loader discovery mechanism. |
| public interface | XnioWorkerConfigurator
An interface which is loaded via |
| Modifier and Type | Class and Description |
|---|---|
| public abstract class | AbstractConvertingIoFuture<
the type of this future result T, the type of the delegate result D>An |
| public abstract class | AbstractIoFuture<
the type of result that this operation produces T>An abstract base class for |
| public abstract class | AutomaticReference<T>
Deprecated
See An automatic reference is a phantom reference which is automatically freed by a background thread when it is
enqueued.
CleanerReference.
|
| public class | Bits
General bit-affecting utility methods. |
| public class | BrokenPipeException
An exception that signifies that a pipe, stream, or channel was closed from the read side while the write side was still writing. |
| public class | Buffers
Buffer utility methods. |
| public abstract class | ByteBufferPool
A fast source of pooled buffers. |
| public class | ByteBufferSlicePool
Deprecated
See A buffer pooled allocator.
ByteBufferPool.
|
| public class | ByteString
An immutable string of bytes. |
| public class | ChainedChannelListener<T extends Channel>
A channel listener that chains calls to a number of other channel listeners. |
| public class | ChannelListeners
Channel listener utility methods. |
| public class | |
| public class | ClosedWorkerException
A channel open was attempted on a closed worker. |
| public class | Closer
A |
| public abstract class | Connection
The base for all connections. |
| pack-priv class | |
| public abstract class | DelegatingChannelListener<T extends Channel>
A base class for a channel listener which performs an action and then calls a delegate listener. |
| public class | FailedIoFuture<
the type of result that this operation produces T>An implementation of |
| public class | FileChangeEvent
The event object that is fired when a file system change is detected. |
| public class | FinishedIoFuture<
the type of result that this operation produces T>An implementation of |
| public class | |
| public class | IoUtils
General I/O utility methods. |
| public class | LocalSocketAddress
A socket address which is a local (UNIX domain) socket. |
| public abstract class | MessageConnection
A message-oriented connection between peers. |
| pack-priv class | ObjectProperties
A Hashtable variant which keeps property names in order, for use by MBean |
| public abstract class | Option<
the option value type T>A strongly-typed option to configure an aspect of a service or connection. |
| public class | OptionMap
An immutable map of options to option values. |
| public class | Options
Common channel options. |
| pack-priv class | PollingFileSystemWatcher
Polling based file system watcher service, for use on JDK6 |
| public class | Property
An immutable property represented by a key and value. |
| public class | ReadPropertyAction
A simple property-read privileged action. |
| public class | |
| pack-priv class | |
| pack-priv class | |
| public abstract class | StreamConnection
A connection between peers. |
| public abstract class | TranslatingResult<
the result type to accept T, the result type to pass to the delegate O>Abstract base class for |
| pack-priv class | |
| pack-priv class | |
| public class | Version
The version class. |
| public abstract class | Xnio
The XNIO provider class. |
| pack-priv class | |
| public abstract class | XnioIoThread
An XNIO thread. |
| public abstract class | XnioWorker
A worker for I/O channel notification. |
| pack-priv class | XnioXmlParser
The XNIO XML configuration parser. |
| Modifier and Type | Enum and Description |
|---|---|
| public enum | CompressionType
Supported compression types. |
| public enum | FileAccess
Possible file access modes. |
| public enum | SslClientAuthMode
The desired SSL client authentication mode for SSL channels in server mode. |