public class SupportSubscriberMRD extends Object
Constructor and Description |
---|
SupportSubscriberMRD() |
Modifier and Type | Method and Description |
---|---|
boolean |
getAndClearIsInvoked()
Returns true if the subscriber was invoked at least once and clears the invocation flag.
|
List<Object[][]> |
getInsertStreamList()
Returns all insert-stream events received so far.
|
List<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(Object[][] insertStream,
Object[][] removeStream)
Receive multi-row subscriber data through this methods.
|
public void update(Object[][] insertStream, Object[][] removeStream)
insertStream
- new dataremoveStream
- removed datapublic List<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 List<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()