Class WicaStreamMetadataCollectorService

java.lang.Object
ch.psi.wica.services.stream.WicaStreamMetadataCollectorService

@Service @ThreadSafe public class WicaStreamMetadataCollectorService extends Object
Provides a service which listens and buffers metadata update events received via the Spring event listening service making them available as a service to the rest of the application.
  • Constructor Details

    • WicaStreamMetadataCollectorService

      public WicaStreamMetadataCollectorService()
      Constructs a new instance.
  • Method Details

    • get

      public Map<WicaChannel,WicaChannelMetadata> get(WicaStream wicaStream, LocalDateTime since)
      Returns a map of any channels in the specified wica stream whose metadata has changed since the specified date.
      Parameters:
      wicaStream - the stream
      since - the time and date used for comparison.
      Returns:
      the map.