Class VerboseResult<T>

    • Constructor Detail

      • VerboseResult

        public VerboseResult​(long operationTimeNanos,
                             T value,
                             BucketState state)
    • Method Detail

      • getValue

        public T getValue()
        Returns:
        result of operation with bucket
      • getConfiguration

        public BucketConfiguration getConfiguration()
        Returns:
        snapshot of configuration which was actual at operation time
      • getState

        public BucketState getState()
        Returns:
        snapshot of internal bucket state which was actual at operation time
      • getOperationTimeNanos

        public long getOperationTimeNanos()
        Returns:
        time which was used by the bucket at the moment of handling a request