Class NoOpHandler
java.lang.Object
com.inductiveautomation.eventstream.gateway.handlers.NoOpHandler
- All Implemented Interfaces:
EventStreamHandler
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.inductiveautomation.eventstream.gateway.api.EventStreamHandler
EventStreamHandler.Descriptor, EventStreamHandler.Factory -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EventStreamHandler.Factoryvoidhandle(List<EventPayload> events, boolean testMode) Called when a batch of events is ready to be processed.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.inductiveautomation.eventstream.gateway.api.EventStreamHandler
onShutdown, onStartup
-
Field Details
-
ID
- See Also:
-
CONFIG
-
-
Constructor Details
-
NoOpHandler
public NoOpHandler()
-
-
Method Details
-
createFactory
-
handle
Description copied from interface:EventStreamHandlerCalled when a batch of events is ready to be processed. It's important that an exception is throw on errors encountered during handling of events. If an exception is encountered, it should be expected that the method may be called again in the future with the same events. This is determined by the failure strategy specified by the Event Stream configuration.- Specified by:
handlein interfaceEventStreamHandler- Parameters:
events- List of events to process.testMode- True, if Event Stream is running in test mode. If running in testMode, expressions should be evaluated with no other side effects.- Throws:
Exception- Exception thrown during processing.
-