Class COUNTER.ResponseData<T>

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ResponseData​(java.lang.String counterName, long value, long version, T returnValue)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      COUNTER.VersionedValue apply​(java.lang.String s, COUNTER.VersionedValue versionedValue)
      Updates the VersionedValue if the version is bigger.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.BiFunction

        andThen
    • Field Detail

      • counterName

        private final java.lang.String counterName
      • value

        private final long value
      • version

        private final long version
      • returnValue

        private final T returnValue
    • Constructor Detail

      • ResponseData

        private ResponseData​(java.lang.String counterName,
                             long value,
                             long version,
                             T returnValue)