Package ch.psi.wica.services.stream
Class WicaStreamMonitoredValueCollectorService
java.lang.Object
ch.psi.wica.services.stream.WicaStreamMonitoredValueCollectorService
-
Constructor Summary
ConstructorsConstructorDescriptionWicaStreamMonitoredValueCollectorService
(int bufferSize, org.springframework.context.ApplicationEventPublisher applicationEventPublisher, WicaChannelValueTimestampRewriter wicaChannelValueTimestampRewriter, WicaChannelValueFilteringService wicaChannelValueFilteringService) -
Method Summary
Modifier and TypeMethodDescriptionget
(WicaStream wicaStream, LocalDateTime since) (package private) Map
<WicaChannel, List<WicaChannelValue>> getLatest
(WicaStream wicaStream) void
void
void
-
Constructor Details
-
WicaStreamMonitoredValueCollectorService
public WicaStreamMonitoredValueCollectorService(@Value("${wica.channel-monitored-value-buffer-size}") int bufferSize, @Autowired org.springframework.context.ApplicationEventPublisher applicationEventPublisher, @Autowired WicaChannelValueTimestampRewriter wicaChannelValueTimestampRewriter, @Autowired WicaChannelValueFilteringService wicaChannelValueFilteringService)
-
-
Method Details
-
get
-
getLatest
-
handleWicaChannelMonitoredValueUpdateEvent
@EventListener public void handleWicaChannelMonitoredValueUpdateEvent(WicaChannelMonitoredValueUpdateEvent event) -
handleWicaChannelPolledMonitorValueUpdateEvent
@EventListener public void handleWicaChannelPolledMonitorValueUpdateEvent(WicaChannelPolledMonitorValueUpdateEvent event) -
handleUpdateEvent
-