Package rabbit.nio

The nio components that rabbit uses.

See:
          Description

Interface Summary
AcceptHandler A handler that accepts connections
ConnectHandler A handler that signals that a channel is ready to connect.
NioHandler A handler of nio based events.
ReadHandler A handler that signals that data is ready to be read.
SelectorVisitor A visitor of the selectors used by a NioHandler.
SocketChannelHandler A handler for socket operations.
TaskIdentifier Identifier for a long and/or slow operation.
WriteHandler A handler that signals that data is ready to be written.
 

Class Summary
DefaultTaskIdentifier A basic immutable task identifier
MultiSelectorNioHandler An implementation of NioHandler that runs several selector threads.
StatisticsCollector A class that executes one task and gathers information about the time spent and the success status of the task.
StatisticsHolder A holder of statistics for tasks.
 

Package rabbit.nio Description

The nio components that rabbit uses.

An NioHandler typically uses one or more threads to drive that many selectors. Events can be fired on either the selector thread or on a background thread (that typically comes from an Executor).