Class Measure

    • Constructor Detail

      • Measure

        private Measure()
    • Method Detail

      • getName

        public abstract java.lang.String getName()
        Name of measure, as a String. Should be a ASCII string with a length no greater than 255 characters.

        Suggested format for name: <web_host>/<path>.

        Since:
        0.8
      • getDescription

        public abstract java.lang.String getDescription()
        Detailed description of the measure, used in documentation.
        Since:
        0.8
      • getUnit

        public abstract java.lang.String getUnit()
        The units in which Measure values are measured.

        The suggested grammar for a unit is as follows:

        • Expression = Component { "." Component } {"/" Component };
        • Component = [ PREFIX ] UNIT [ Annotation ] | Annotation | "1";
        • Annotation = "{" NAME "}" ;

        For example, string “MBy{transmitted}/ms” stands for megabytes per milliseconds, and the annotation transmitted inside {} is just a comment of the unit.

        Since:
        0.8