private static final class RedisDecoder.ToPositiveLongProcessor extends java.lang.Object implements ByteProcessor
ByteProcessor.IndexNotOfProcessor, ByteProcessor.IndexOfProcessor
Modifier and Type | Field and Description |
---|---|
private long |
result |
FIND_CR, FIND_CRLF, FIND_LF, FIND_LINEAR_WHITESPACE, FIND_NON_CR, FIND_NON_CRLF, FIND_NON_LF, FIND_NON_LINEAR_WHITESPACE, FIND_NON_NUL, FIND_NUL, FIND_SEMI_COLON
Modifier | Constructor and Description |
---|---|
private |
ToPositiveLongProcessor() |
Modifier and Type | Method and Description |
---|---|
long |
content() |
boolean |
process(byte value) |
void |
reset() |
public boolean process(byte value) throws java.lang.Exception
process
in interface ByteProcessor
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.java.lang.Exception
public long content()
public void reset()