public interface RegexPartitionStateRepo
Modifier and Type | Method and Description |
---|---|
void |
accept(EventRowRegexNFAViewServiceVisitor visitor) |
RegexPartitionStateRepo |
copyForIterate()
Copy state for iteration.
|
RegexPartitionState |
getState(EventBean theEvent,
boolean isCollect)
Return state for event or create state if not found.
|
RegexPartitionState |
getState(java.lang.Object key)
Return state for key or create state if not found.
|
boolean |
isPartitioned() |
void |
removeOld(EventBean[] events,
boolean isEmpty,
boolean[] found)
Remove old events from the state, applicable for "prev" function and partial NFA state.
|
void |
removeState(java.lang.Object partitionKey) |
RegexPartitionState getState(java.lang.Object key)
key
- to look upRegexPartitionState getState(EventBean theEvent, boolean isCollect)
theEvent
- to look upisCollect
- true if a collection of unused state can occurvoid removeOld(EventBean[] events, boolean isEmpty, boolean[] found)
events
- to removeisEmpty
- indicator if there are not matchesfound
- indicator if any partial matches exist to be deletedRegexPartitionStateRepo copyForIterate()
void removeState(java.lang.Object partitionKey)
void accept(EventRowRegexNFAViewServiceVisitor visitor)
boolean isPartitioned()