Class LastSourceEventCache
java.lang.Object
com.inductiveautomation.eventstream.gateway.util.LastSourceEventCache
Retains last event Source emitted for every Event Stream. Used for testing with last event.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setLastValue
(EventStreamKey key, Object value) Set the last value for the given key.
-
Constructor Details
-
LastSourceEventCache
public LastSourceEventCache()
-
-
Method Details
-
setLastValue
Set the last value for the given key.- Parameters:
key
- EventStream key where the value came from.value
- Value as it'd be emitted by Source.
-
getLastValue
-