Package org.jctools.channels
package org.jctools.channels
-
ClassDescriptionChannel<E>A minimal top level queue interface which allows producer/consumers access via separate interfaces.The consumer is the object which controls the reading of messages from a channel.A producer used by a single thread for writing into a channel.The receiver interface is implemented by end users in order to receiver data from the channel.Channel protocol: - Fixed message size - 'null' indicator in message preceding byte (potentially use same for type mapping in future) - Use FF algorithm relying on indicator to support in place detection of next element existence