public class ThresholdingEventProxy extends Object implements EventProxy
ThresholdingEventProxy class.
| Constructor and Description |
|---|
ThresholdingEventProxy()
Constructor for ThresholdingEventProxy.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(Event event)
add
|
void |
add(List<Event> events)
add
|
void |
removeAllEvents()
removeAllEvents
|
void |
send(Event event)
This method is called to send the event out
|
void |
send(Log eventLog)
send
|
void |
sendAllEvents()
sendAllEvents
|
public ThresholdingEventProxy()
Constructor for ThresholdingEventProxy.
public void send(Event event) throws EventProxyException
send in interface EventProxyevent - the event to be sent outEventProxyException - thrown if the send fails for any reasonpublic void send(Log eventLog) throws EventProxyException
send
send in interface EventProxyeventLog - a Log object.EventProxyException - if any.public void removeAllEvents()
removeAllEvents
public void sendAllEvents()
sendAllEvents
Copyright © 2020. All rights reserved.