public class NonThreadSafeCircularBuffer extends Object
Modifier and Type | Field and Description |
---|---|
private int[] |
buffer |
private int |
bufferSize |
private int |
insertionPointer |
private byte[] |
lookingFor |
Constructor and Description |
---|
NonThreadSafeCircularBuffer(byte[] lookingFor) |
Modifier and Type | Method and Description |
---|---|
boolean |
addAndCompare(byte data) |
byte[] |
getByteArray() |
int |
getOldestByte()
Returns the oldest byte in the buffer
|
boolean |
isFilled() |
Copyright © 2016 Apache NiFi Project. All rights reserved.