Class MetricImpl

  • All Implemented Interfaces:
    javax.batch.runtime.Metric

    public class MetricImpl
    extends Object
    implements javax.batch.runtime.Metric
    • Constructor Detail

      • MetricImpl

        public MetricImpl​(javax.batch.runtime.Metric.MetricType type,
                          long value)
    • Method Detail

      • getType

        public javax.batch.runtime.Metric.MetricType getType()
        Specified by:
        getType in interface javax.batch.runtime.Metric
      • getValue

        public long getValue()
        Specified by:
        getValue in interface javax.batch.runtime.Metric