public static class AhoCorasicSearchProcessorFactory.Processor extends Object implements MultiSearchProcessor
ByteProcessor.IndexNotOfProcessor, ByteProcessor.IndexOfProcessorFIND_ASCII_SPACE, FIND_COMMA, 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 and Type | Method and Description |
|---|---|
int |
getFoundNeedleId() |
boolean |
process(byte value) |
void |
reset()
Resets the state of SearchProcessor.
|
public boolean process(byte value)
process in interface ByteProcessortrue 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.public int getFoundNeedleId()
getFoundNeedleId in interface MultiSearchProcessorpublic void reset()
SearchProcessorreset in interface SearchProcessorCopyright © 2008–2025 The Netty Project. All rights reserved.