public interface StreamThrottler extends Closeable
| Modifier and Type | Method and Description |
|---|---|
long |
copy(InputStream in,
OutputStream out) |
long |
copy(InputStream in,
OutputStream out,
long maxBytes) |
InputStream |
newThrottledInputStream(InputStream toWrap) |
OutputStream |
newThrottledOutputStream(OutputStream toWrap) |
long copy(InputStream in, OutputStream out) throws IOException
IOExceptionlong copy(InputStream in, OutputStream out, long maxBytes) throws IOException
IOExceptionInputStream newThrottledInputStream(InputStream toWrap)
OutputStream newThrottledOutputStream(OutputStream toWrap)
Copyright © 2019 Apache NiFi Project. All rights reserved.