public class StreamPump extends Object implements Runnable
| Modifier and Type | Class and Description |
|---|---|
static class |
StreamPump.StreamPumpStats |
| Modifier and Type | Field and Description |
|---|---|
protected AtomicLong |
bytesTransferred |
protected InputStream |
in |
protected static org.slf4j.Logger |
log |
protected OutputStream |
out |
protected StreamPump.StreamPumpStats |
stats |
| Constructor and Description |
|---|
StreamPump(InputStream in,
OutputStream out,
StreamPump.StreamPumpStats stats,
String name,
Rule rule) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
getCreationTime() |
String |
getName() |
String |
getServiceProxyName() |
long |
getTransferredBytes() |
void |
run() |
protected static org.slf4j.Logger log
protected final InputStream in
protected final OutputStream out
protected StreamPump.StreamPumpStats stats
protected AtomicLong bytesTransferred
public StreamPump(InputStream in, OutputStream out, StreamPump.StreamPumpStats stats, String name, Rule rule)
Copyright © 2019. All Rights Reserved.