Class SampleBatchEvent


  • public class SampleBatchEvent
    extends java.lang.Object
    Wrapper class for a List of Sample objects. Instances of this class are preallocated by the Disruptor.
    Author:
    jwhite
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<org.opennms.integration.api.v1.timeseries.Sample> getSamples()  
      boolean isMetadata()  
      void setMetadata​(boolean metadata)  
      void setSamples​(java.util.List<org.opennms.integration.api.v1.timeseries.Sample> samples)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SampleBatchEvent

        public SampleBatchEvent()
    • Method Detail

      • setSamples

        public void setSamples​(java.util.List<org.opennms.integration.api.v1.timeseries.Sample> samples)
      • getSamples

        public java.util.List<org.opennms.integration.api.v1.timeseries.Sample> getSamples()
      • setMetadata

        public void setMetadata​(boolean metadata)
      • isMetadata

        public boolean isMetadata()