com.espertech.esper.rowregex
Interface RegexPartitionStateRepoScheduleState

All Known Implementing Classes:
RegexPartitionStateRepoScheduleStateImpl

public interface RegexPartitionStateRepoScheduleState

Service for holding schedule state.


Method Summary
 boolean containsKey(long matchBeginTime)
           
 boolean findRemoveAddToList(long matchBeginTime, RegexNFAStateEntry state, java.util.List<RegexNFAStateEntry> foundStates)
          Find and remove operation, wherein removed items are added to the found list, returning an indicator whether the item was found and removed
 long firstKey()
           
 boolean isEmpty()
           
 boolean putOrAdd(long matchBeginTime, RegexNFAStateEntry state)
          Add entry returning true if the key did not exist.
 void removeAddRemoved(long matchBeginTime, java.util.List<RegexNFAStateEntry> foundStates)
           
 

Method Detail

isEmpty

boolean isEmpty()

putOrAdd

boolean putOrAdd(long matchBeginTime,
                 RegexNFAStateEntry state)
Add entry returning true if the key did not exist.

Parameters:
matchBeginTime - key
state - entry
Returns:
indicator

firstKey

long firstKey()

removeAddRemoved

void removeAddRemoved(long matchBeginTime,
                      java.util.List<RegexNFAStateEntry> foundStates)

containsKey

boolean containsKey(long matchBeginTime)

findRemoveAddToList

boolean findRemoveAddToList(long matchBeginTime,
                            RegexNFAStateEntry state,
                            java.util.List<RegexNFAStateEntry> foundStates)
Find and remove operation, wherein removed items are added to the found list, returning an indicator whether the item was found and removed

Parameters:
matchBeginTime - key
state - entry
foundStates - list to be added to
Returns:
indicator whether any item was found and removed

© 2006-2016 EsperTech Inc.
All rights reserved.
Visit us at espertech.com