Class LeakyBucketStreamThrottler.Response

java.lang.Object
org.apache.nifi.stream.io.LeakyBucketStreamThrottler.Response
Enclosing class:
LeakyBucketStreamThrottler

private static class LeakyBucketStreamThrottler.Response extends Object
  • Field Details

    • success

      private final boolean success
    • error

      private final IOException error
    • bytesCopied

      private final int bytesCopied
  • Constructor Details

    • Response

      public Response(boolean success, int bytesCopied)
    • Response

      public Response(IOException error)
  • Method Details

    • isSuccess

      public boolean isSuccess()
    • getError

      public IOException getError()
    • getBytesCopied

      public int getBytesCopied()