## Package com.sun.grizzly.util

Interface Summary
AttributeHolder: Interface declares common functionality for objects, which could have associated attributes.
Copyable: Copyable objects are able to copy their content to other objects of the same type
Interceptor<E>: Simple interception hook used to trap events inside Grizzly core.
ObjectPool<E>: Basic interface for object pool implementations
StreamAlgorithm: 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`
InputReader: This class implement IO stream operations on top of a `ByteBuffer`.
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.
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.