All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.collectd.model.Values Maven / Gradle / Ivy

The newest version!
package org.collectd.model;

import java.util.ArrayList;
import java.util.Collection;

/**
 * Numeric values data type.
 */
@lombok.Getter
@lombok.Setter
@lombok.ToString(callSuper = true)
public class Values extends PluginData {

    /**
     * Numeric values (items).
     */
    private final Collection items = new ArrayList<>();

    /**
     * Interval used to set the "step" when creating new RRDs unless rrdtool plugin forces StepSize.
     */
    private Long interval;

    /**
     * Numeric value item (type - value pair).
     */
    @lombok.Getter
    @lombok.Setter
    @lombok.ToString
    @lombok.AllArgsConstructor
    @lombok.NoArgsConstructor
    public static class ValueHolder {

        /**
         * Type of numeric value.
         */
        private ValueType type;

        /**
         * Numeric value.
         */
        private Number value;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy