com.ibm.jbatch.container.context.impl
Class MetricImpl

java.lang.Object
  extended by com.ibm.jbatch.container.context.impl.MetricImpl
All Implemented Interfaces:
Metric

public class MetricImpl
extends Object
implements Metric


Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.batch.runtime.Metric
Metric.MetricType
 
Constructor Summary
MetricImpl(Metric.MetricType name, long value)
           
 
Method Summary
 Metric.MetricType getType()
           
 long getValue()
           
 void incValue()
           
 void incValueBy(long incValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetricImpl

public MetricImpl(Metric.MetricType name,
                  long value)
Method Detail

getType

public Metric.MetricType getType()
Specified by:
getType in interface Metric

getValue

public long getValue()
Specified by:
getValue in interface Metric

incValue

public void incValue()

incValueBy

public void incValueBy(long incValue)


Copyright © 2013. All Rights Reserved.