public abstract class DecoratorDbReader<T extends DecoratorInformation> extends Object
T lastFetched holds the last line that was read from the DB The reader will keep reading until it reaches the end of the file or the end of the requested ip range;
| Constructor and Description |
|---|
DecoratorDbReader() |
| Modifier and Type | Method and Description |
|---|---|
List<T> |
fetchForRange(IP rangeBoundStart,
IP rangeBoundEnd) |
protected Optional<T> |
getLastFetched() |
protected abstract Optional<T> |
parseDbLine(String line) |
protected abstract Optional<T> |
readNextLine() |
protected void |
setLastFetched(T lastFetched)
The last successfully parsed line read from the provided decorating DB
|
protected void setLastFetched(T lastFetched)
lastFetched - set the last fetched line to the passed argumentCopyright © 2021. All rights reserved.