public class ChunkConcatReaderPool extends Object
| Constructor and Description |
|---|
ChunkConcatReaderPool() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChunk(String key,
Reader chunk,
boolean continued)
Return a reader if the reader specified by the key has not been previously created.
|
Reader |
getReader(String key,
boolean create)
Returns the specified reader.
|
long |
getTimeout() |
void |
setTimeout(long timeout) |
public void addChunk(String key, Reader chunk, boolean continued) throws IllegalArgumentException
key - chunk - continued - IllegalArgumentExceptionpublic Reader getReader(String key, boolean create)
key - create - public long getTimeout()
public void setTimeout(long timeout)
Copyright © 2016. All rights reserved.