Interface SampleManager

    • Method Detail

      • getId

        String getId()
        Provides the id of this manager.
        Must be unique in the application.
        Returns:
        the id.
      • getLabel

        I18nizableText getLabel()
        Provides the human readable name to use.
        Returns:
        the human readable name.
      • configureRRDDef

        void configureRRDDef​(org.rrd4j.core.RrdDef rrdDef)
        Provides the definition to use for this RRD file. Called only when the RRD file is about to be created.
        Parameters:
        rrdDef - the Round Robin Database definition.
      • collect

        Map<String,​Objectcollect​(org.rrd4j.core.Sample sample)
                                  throws IOException
        Collect data into the Round Robin Database.
        Parameters:
        sample - the sample to collect.
        Returns:
        The collected values for each datasource name.
        Throws:
        IOException - thrown in case of I/O error.