Package org.opennms.netmgt.threshd
Class CollectionResourceWrapper.CacheEntry
- java.lang.Object
-
- org.opennms.netmgt.threshd.CollectionResourceWrapper.CacheEntry
-
- Enclosing class:
- CollectionResourceWrapper
public static class CollectionResourceWrapper.CacheEntry extends java.lang.Object
Keeps track of both the Double value, and when it was collected, for the static cache of attributes This is necessary for the *correct* calculation of Counter rates, across variable collection times and possible collection failures (see NMS-4244)
-
-
Constructor Summary
Constructors Constructor Description CacheEntry(java.util.Date timestamp, java.lang.Double value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Date
getTimestamp()
java.lang.Double
getValue()
-