Class RedisDecoder.ToPositiveLongProcessor

java.lang.Object
io.netty.handler.codec.redis.RedisDecoder.ToPositiveLongProcessor
All Implemented Interfaces:
ByteProcessor
Enclosing class:
RedisDecoder

private static final class RedisDecoder.ToPositiveLongProcessor extends Object implements ByteProcessor
  • Field Details

    • result

      private long result
  • Constructor Details

    • ToPositiveLongProcessor

      private ToPositiveLongProcessor()
  • Method Details

    • process

      public boolean process(byte value) throws Exception
      Specified by:
      process in interface ByteProcessor
      Returns:
      true if the processor wants to continue the loop and handle the next byte in the buffer. false if the processor wants to stop handling bytes and abort the loop.
      Throws:
      Exception
    • content

      public long content()
    • reset

      public void reset()