![]() | SupportListener Interface |
Namespace: com.espertech.esper.runtime.client.scopetest
public interface SupportListener : UpdateListener
The SupportListener type exposes the following members.
Name | Description | |
---|---|---|
![]() | DataListsFlattened |
Returns a pair of insert and remove stream event arrays considering the all invocations.
|
![]() | IsInvoked |
Returns true if the listener was invoked at least once.
|
![]() | LastNewData |
Returns the last array of events (insert stream) that were received.
|
![]() | LastOldData |
Returns the last array of remove-stream events that were received.
|
![]() | NewDataList |
Get a list of all insert-stream event arrays received.
|
![]() | NewDataListFlattened |
Returns an event array that represents all insert-stream events received so far.
|
![]() | OldDataList |
Get a list of all remove-stream event arrays received.
|
![]() | OldDataListFlattened |
Returns an event array that represents all remove-stream events received so far.
|
Name | Description | |
---|---|---|
![]() | AssertGetAndResetIRPair |
Asserts that there is exactly one insert-stream event and one remove-stream event available and resets.
|
![]() | AssertInvokedAndReset |
Returns a pair of insert and remove stream event arrays considering the last invocation only,
asserting that only a single invocation occured, and resetting the listener.
|
![]() | AssertInvokedFlagAndReset |
Assert the invoked-flag against the expected value and reset the flag
|
![]() | AssertNewOldData |
Asserts name-value pairs of insert and remove stream events
|
![]() | AssertOneGetNew |
Asserts that exactly one insert stream event was received not checking remove stream data, and returns the received event.
|
![]() | AssertOneGetNewAndReset |
Asserts that exactly one insert stream event was received and no remove stream events, resets the listener clearing all state and returns the received event.
|
![]() | AssertOneGetOld |
Asserts that exactly one remove stream event was received not checking insert stream data, and returns the received event.
|
![]() | AssertOneGetOldAndReset |
Asserts that exactly one remove stream event was received and no insert stream events, resets the listener clearing all state and returns the received event.
|
![]() | AssertPairGetIRAndReset |
Asserts that exactly one insert stream event and exactly one remove stream event was received, resets the listener clearing all state and returns the received events as a pair.
|
![]() | GetAndClearIsInvoked |
Returns true if the listener was invoked at least once and clears the invocation flag.
|
![]() | GetAndResetDataListsFlattened |
Returns a pair of insert and remove stream event arrays considering the all invocations, and resets the listener.
|
![]() | GetAndResetIRPair |
Returns a pair of last-invocation insert and remove stream events and resets
|
![]() | GetAndResetLastNewData |
Returns the last array of events (insert stream) that were received and resets the listener.
|
![]() | GetAndResetLastOldData |
Returns the last array of events (insert stream) that were received and resets the listener.
|
![]() | IsInvokedAndReset |
Returns true if the listener was invoked at least once and clears the invocation flag.
|
![]() | Reset |
Reset listener, clearing all associated state.
|
![]() | Update |
Notify that new events are available or old events are removed.
(Inherited from UpdateListener.)If the call to Update contains new (inserted) events, then the first argument will be a non-empty list and the second will be empty. Similarly, if the call is a notification of deleted events, then the first argument will be empty and the second will be non-empty. Either the newEvents or oldEvents will be non-null. This method won't be called with both arguments being null, (unless using output rate limiting or force-output options), but either one could be null. The same is true for zero-length arrays. Either newEvents or oldEvents will be non-empty. This method won't be called with both arguments being null (unless using output rate limiting or force-output options), but either one could be null. The same is true for zero-length arrays. Either newEvents or oldEvents will be non-empty.If both are non-empty, then the update is a modification. |
![]() | WaitForInvocation |
Wait for the listener invocation for up to the given number of milliseconds.
|