Package org.jgrapes.io.util
package org.jgrapes.io.util
Utility classes, mainly for adapted buffers to specific needs.
-
ClassDescriptionUsed to notify interested objects about the changed availability of permits.BufferCollector<B extends ManagedBuffer<?>>Defines the method of a buffer collector.An
OutputStream
that is backed byByteBuffer
s obtained from a queue.AnWriter
that is backed byCharBuffer
s obtained from a queue.A filter that copies all data read into a buffer.Forwards the content of an input stream as a sequence ofOutput
events.Provides an I/O subchannel that is linked to another I/O subchannel.ManagedBuffer<T extends Buffer>A wrapper around aBuffer
that maintains a lock count for that buffer.A queue based buffer pool.An MBean interface for getting information about the managed buffer pools.Information about a single managed pool.Three views on the existing pool.AReader
that provides the data from theManagedBuffer
s fed to it to a consumer.A class that manages a set of permits and notifies listeners about changes of availability.