Class SpscChannelProducer<E>

    • Field Detail

      • pointer

        protected long pointer
    • Constructor Detail

      • SpscChannelProducer

        public SpscChannelProducer​(java.nio.ByteBuffer buffer,
                                   int capacity,
                                   int messageSize)
    • Method Detail

      • claim

        public final boolean claim()
        Description copied from interface: ChannelProducer
        Attempt to claim the next element in the channel.
        Specified by:
        claim in interface ChannelProducer<E>
        Returns:
        true if claimed, false if there is insufficient space in the channel.
      • commit

        public final boolean commit()
        Specified by:
        commit in interface ChannelProducer<E>
        Returns:
        true if