Class Throughput
java.lang.Object
org.ojalgo.type.management.Throughput
- All Implemented Interfaces:
ThroughputMBean
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate longprivate doubleprivate final LongAdderprivate static final double -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NANOS
private static final double NANOS- See Also:
-
myLastTime
private long myLastTime -
myLastTotal
private double myLastTotal -
myTotal
-
-
Constructor Details
-
Throughput
public Throughput()
-
-
Method Details
-
add
public void add(long x) -
getRate
public double getRate()Description copied from interface:ThroughputMBeanThe, current, throughput rate (items/second)- Specified by:
getRatein interfaceThroughputMBean
-
getTotal
public long getTotal()Description copied from interface:ThroughputMBeanThe total number of items that passed through here.- Specified by:
getTotalin interfaceThroughputMBean
-
increment
public void increment()
-