|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.client.scopetest.SupportSubscriberMRD
public class SupportSubscriberMRD
Subscriber for multi-row delivery that retains the events it receives for use in assertions.
Constructor Summary | |
---|---|
SupportSubscriberMRD()
|
Method Summary | |
---|---|
boolean |
getAndClearIsInvoked()
Returns true if the subscriber was invoked at least once and clears the invocation flag. |
java.util.List<java.lang.Object[][]> |
getInsertStreamList()
Returns all insert-stream events received so far. |
java.util.List<java.lang.Object[][]> |
getRemoveStreamList()
Returns all removed-stream events received so far. |
boolean |
isInvoked()
Returns true if the subscriber was invoked at least once. |
void |
reset()
Reset subscriber, clearing all associated state. |
void |
update(java.lang.Object[][] insertStream,
java.lang.Object[][] removeStream)
Receive multi-row subscriber data through this methods. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SupportSubscriberMRD()
Method Detail |
---|
public void update(java.lang.Object[][] insertStream, java.lang.Object[][] removeStream)
insertStream
- new dataremoveStream
- removed datapublic java.util.List<java.lang.Object[][]> getInsertStreamList()
The list contains an item for each delivery. Each item contains a row with the event and each event is itself a tuple (object array).
public java.util.List<java.lang.Object[][]> getRemoveStreamList()
The list contains an item for each delivery. Each item contains a row with the event and each event is itself a tuple (object array).
public void reset()
public boolean isInvoked()
public boolean getAndClearIsInvoked()
|
© 2006-2015 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 |