public interface RowRecogPartitionStateRepo
Modifier and Type | Method and Description |
---|---|
void |
accept(RowRecogNFAViewServiceVisitor visitor) |
RowRecogPartitionStateRepo |
copyForIterate(boolean forOutOfOrderReprocessing)
Copy state for iteration.
|
void |
destroy() |
RowRecogPartitionStateRepoScheduleState |
getScheduleState() |
RowRecogPartitionState |
getState(EventBean theEvent,
boolean isCollect)
Return state for event or create state if not found.
|
RowRecogPartitionState |
getState(Object key)
Return state for key or create state if not found.
|
int |
getStateCount() |
int |
incrementAndGetEventSequenceNum() |
boolean |
isPartitioned() |
int |
removeOld(EventBean[] events,
boolean isEmpty,
boolean[] found)
Remove old events from the state, applicable for "prev" function and partial NFA state.
|
void |
removeState(Object partitionKey) |
void |
setEventSequenceNum(int num) |
RowRecogPartitionState getState(Object key)
key
- to look upRowRecogPartitionState getState(EventBean theEvent, boolean isCollect)
theEvent
- to look upisCollect
- true if a collection of unused state can occurint removeOld(EventBean[] events, boolean isEmpty, boolean[] found)
events
- to removeisEmpty
- indicator if there are not matchesfound
- indicator if any partial matches exist to be deletedRowRecogPartitionStateRepo copyForIterate(boolean forOutOfOrderReprocessing)
forOutOfOrderReprocessing
- indicator whether we are processing out-of-order eventsvoid removeState(Object partitionKey)
void accept(RowRecogNFAViewServiceVisitor visitor)
boolean isPartitioned()
int getStateCount()
int incrementAndGetEventSequenceNum()
void setEventSequenceNum(int num)
RowRecogPartitionStateRepoScheduleState getScheduleState()
void destroy()
Copyright © 2005–2018. All rights reserved.