public class BufferReleasingInputStream
extends java.io.InputStream
Constructor and Description |
---|
BufferReleasingInputStream(java.io.InputStream delegate,
org.apache.spark.storage.ShuffleBlockFetcherIterator iterator,
BlockId blockId,
int mapIndex,
BlockManagerId address,
boolean detectCorruption) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
public BufferReleasingInputStream(java.io.InputStream delegate, org.apache.spark.storage.ShuffleBlockFetcherIterator iterator, BlockId blockId, int mapIndex, BlockManagerId address, boolean detectCorruption)
public int available()
available
in class java.io.InputStream
public void close()
close
in interface java.io.Closeable
close
in interface AutoCloseable
close
in class java.io.InputStream
public void mark(int readlimit)
mark
in class java.io.InputStream
public boolean markSupported()
markSupported
in class java.io.InputStream
public int read()
read
in class java.io.InputStream
public int read(byte[] b)
read
in class java.io.InputStream
public int read(byte[] b, int off, int len)
read
in class java.io.InputStream
public void reset()
reset
in class java.io.InputStream
public long skip(long n)
skip
in class java.io.InputStream