Add pattern to detect events that are not arrived #483
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the implementation of Siddhi pattern to detect the absence of events.
Sample cases:
A -> not B for 1sec
A -> not B and C
A -> (not B and C) within 1sec
A -> (not B for 1sec and C) within 2sec
not A for 1sec -> B
not A and B -> C
every ( not B and A) -> C
every ( not B for 1sec) -> C
A -> not B for 1 sec and not C for 1 sec
not A for 1 sec and not B for 1 sec -> C
A -> not B for 1 sec or not C for 1 sec
not A for 1 sec or not B for 1 sec -> C
A -> not B for 1 sec or C
not A for 1 sec or B -> C