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.InputStreampublic void close()
close in interface java.io.Closeableclose in interface AutoCloseableclose in class java.io.InputStreampublic void mark(int readlimit)
mark in class java.io.InputStreampublic boolean markSupported()
markSupported in class java.io.InputStreampublic int read()
read in class java.io.InputStreampublic int read(byte[] b)
read in class java.io.InputStreampublic int read(byte[] b,
int off,
int len)
read in class java.io.InputStreampublic void reset()
reset in class java.io.InputStreampublic long skip(long n)
skip in class java.io.InputStream