public class TeeInputStream extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
LOOP_REPORT_INTERVAL |
| Constructor and Description |
|---|
TeeInputStream(InputStream source,
int splits) |
TeeInputStream(InputStream source,
int splits,
int bufferSize) |
TeeInputStream(InputStream source,
String[] splitNames) |
TeeInputStream(InputStream source,
String[] splitNames,
int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getMaxNonblockingReadLength(int teeIndex) |
InputStream[] |
getTees() |
protected void |
loop() |
void |
loopUntilTeesAreClosed() |
public static final int LOOP_REPORT_INTERVAL
public TeeInputStream(InputStream source, String[] splitNames)
public TeeInputStream(InputStream source, int splits)
public TeeInputStream(InputStream source, int splits, int bufferSize)
public TeeInputStream(InputStream source, String[] splitNames, int bufferSize)
public InputStream[] getTees()
public void close()
throws IOException
IOExceptionpublic int getMaxNonblockingReadLength(int teeIndex)
Copyright © 2013–2016 V5 Analytics. All rights reserved.