private static class LeakyBucketStreamThrottler.Response extends Object
| Modifier and Type | Field and Description |
|---|---|
private int |
bytesCopied |
private IOException |
error |
private boolean |
success |
| Constructor and Description |
|---|
Response(boolean success,
int bytesCopied) |
Response(IOException error) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBytesCopied() |
IOException |
getError() |
boolean |
isSuccess() |
private final boolean success
private final IOException error
private final int bytesCopied
public Response(boolean success,
int bytesCopied)
public Response(IOException error)
public boolean isSuccess()
public IOException getError()
public int getBytesCopied()
Copyright © 2019 Apache NiFi Project. All rights reserved.