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 EventProxy
event
- the event to be sent outEventProxyException
- thrown if the send fails for any reasonpublic void send(Log eventLog) throws EventProxyException
send
send
in interface EventProxy
eventLog
- a Log
object.EventProxyException
- if any.public void removeAllEvents()
removeAllEvents
public void sendAllEvents()
sendAllEvents
Copyright © 2019. All rights reserved.