| Modifier and Type | Field and Description |
|---|---|
int |
num_
number of parallel streams.
|
| Constructor and Description |
|---|
PReader(PInputStream parent,
InputStream stream,
int pos,
int numreadrs)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEOF() |
int |
readData()
Readr reads to an input stream
|
void |
run() |
void |
set(byte[] buf,
int off,
int length)
Set up total buffer to read for this parallel stream.
|
public PReader(PInputStream parent, InputStream stream, int pos, int numreadrs)
parent - paralle stream containing this readr.stream - real inputstream associated with this readr.pos - position of this readr inside the parallel stream.numreadrs - total number of readrs of this parallel stream.public void set(byte[] buf,
int off,
int length)
public int readData()
throws IOException
IOExceptionpublic boolean isEOF()
Copyright © 2010–2016 UNICORE. All rights reserved.