|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RegexPartitionStateRepo
Service for holding partition state.
Method Summary | |
---|---|
void |
accept(EventRowRegexNFAViewServiceVisitor visitor)
|
RegexPartitionStateRepo |
copyForIterate(boolean forOutOfOrderReprocessing)
Copy state for iteration. |
void |
destroy()
|
RegexPartitionStateRepoScheduleState |
getScheduleState()
|
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. |
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(java.lang.Object partitionKey)
|
void |
setEventSequenceNum(int num)
|
Method Detail |
---|
RegexPartitionState getState(java.lang.Object key)
key
- to look up
RegexPartitionState getState(EventBean theEvent, boolean isCollect)
theEvent
- to look upisCollect
- true if a collection of unused state can occur
int 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(boolean forOutOfOrderReprocessing)
void removeState(java.lang.Object partitionKey)
void accept(EventRowRegexNFAViewServiceVisitor visitor)
boolean isPartitioned()
int getStateCount()
int incrementAndGetEventSequenceNum()
void setEventSequenceNum(int num)
RegexPartitionStateRepoScheduleState getScheduleState()
void destroy()
|
© 2006-2016 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |