Class CollectionResourceWrapper.CacheEntry

  • Enclosing class:
    CollectionResourceWrapper

    public static class CollectionResourceWrapper.CacheEntry
    extends 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 Detail

      • CacheEntry

        public CacheEntry​(Date timestamp,
                          Double value)
    • Method Detail

      • getTimestamp

        public Date getTimestamp()
      • getValue

        public Double getValue()