Class 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CacheEntry

        public CacheEntry​(java.util.Date timestamp,
                          java.lang.Double value)
    • Method Detail

      • getTimestamp

        public java.util.Date getTimestamp()
      • getValue

        public java.lang.Double getValue()