Interface RowRecogPartitionStateRepoScheduleState

All Known Implementing Classes:
RowRecogPartitionStateRepoScheduleStateImpl

public interface RowRecogPartitionStateRepoScheduleState
Service for holding schedule state.
  • Method Details

    • isEmpty

      boolean isEmpty()
    • putOrAdd

      boolean putOrAdd(long matchBeginTime, RowRecogNFAStateEntry 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, List<RowRecogNFAStateEntry> foundStates)
    • containsKey

      boolean containsKey(long matchBeginTime)
    • findRemoveAddToList

      boolean findRemoveAddToList(long matchBeginTime, RowRecogNFAStateEntry state, List<RowRecogNFAStateEntry> 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