Package com.sun.grizzly.util

Interface Summary
AttributeHolder Interface declares common functionality for objects, which could have associated attributes.
ConnectionCloseHandler Simple listener to be used when an application needs to be notified when a a SelectorHandler, ConnectionHandler or SelectionKeyHandler close a connection (ConnectionCloseHandler.locallyClosed(java.nio.channels.SelectionKey)), or when a remote client close the connection (ConnectionCloseHandler.remotlyClosed(java.nio.channels.SelectionKey)).
Copyable Copyable objects are able to copy their content to other objects of the same type
ExtendedThreadPool Thread pool, from which it's possible to gather statistics information, and finer control its execution.
Interceptor<E,F extends Channel> Simple interception hook used to trap events inside Grizzly core.
ObjectPool<E> Basic interface for object pool implementations
StreamAlgorithm<E> Deprecated. Use the ProtocolParser instead.
SupportStateHolder<E> Interface implementors support StateHolder for state control
 

Class Summary
ByteBufferFactory Factory class used to create ByteBuffer.
ByteBufferInputStream Deprecated. - Use InputReader instead
CallbackHandlerSelectionKeyAttachment SelectionKey attachment, which wraps CallbackHandler
Cloner Class Cloner creates a clone of given object, which should implement interface Copyable
ConcurrentLinkedQueuePool<E> ObjectPool implementation based on ConcurrentLinkedQueue
DefaultThreadPool Thread Pool implementation, based on ThreadPoolExecutor
InputReader This class implement IO stream operations on top of a ByteBuffer.
LoggingFormatter Format the record to include the Thread that logged the record.
OutputWriter NIO utility to flush ByteBuffer
SelectionKeyActionAttachment Class represents extended version of SelectionKeyAttachment, and introduces process method, which will be called by framework once SelectionKey has some ready event, before actual event processing.
SelectionKeyAttachment Basic class for all SelectionKey attachments.
SelectionKeyAttachmentWrapper<E> SelectionKey attachment utility class.
SelectionKeyOP  
SelectionKeyOP.ConnectSelectionKeyOP  
SelectorFactory Factory used to dispatch/share Selector.
SSLOutputWriter SSL over NIO utility to encrypt ByteBuffer and flush them.
SSLUtils SSL over NIO utility class.
StateHolder<E> Class, which holds the state.
StateHolder.ConditionListener<E> Common ConditionListener class, which could be used with StateHolder, to register custom conditions.
StateHolder.EqualConditionListener<E> Equal ConditionListener implementation
StateHolder.EventListener EventListener class, which is a part of EventConditionListener, and implements notificatation logic, when condition becomes true.
StateHolder.NotEqualConditionListener<E> Not equal ConditionListener implementation
ThreadAttachment This object represent the state of a WorkerThread.
ThreadAttachment.Mode  
Utils Class contains set of useful operations commonly used in the framework
WorkerThread Simple interface to allow the addition of Thread attributes.
WorkerThreadFactory Simple utility class to create WorkerThread
WorkerThreadImpl Simple worker thread used for processing HTTP requests.
 

Enum Summary
ByteBufferFactory.ByteBufferType An enumeration of all type of ByteBuffer this object can create.
InputReader.ChannelType The Channel type is used to avoid invoking the instanceof operation when registering the Socket|Datagram Channel to the Selector.
State State enum STOPPED - Process is stopped, not running state STARTED - Process is started, running state PAUSED - Process is paused, not processing tasks
 



Copyright © 2008 SUN Microsystems. All Rights Reserved.