Package org.jctools.channels
Interface ChannelConsumer
-
- All Known Implementing Classes:
MpscChannelConsumer
,SpscChannelConsumer
public interface ChannelConsumer
The consumer is the object which controls the reading of messages from a channel. Each consumer should only be assigned to a single thread.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
read()
Read a message from the channel.
-