public class BufferedOffloadStream extends InputStream
| Constructor and Description |
|---|
BufferedOffloadStream(int blockSize,
List<Entry> entries,
long ledgerId,
long beginEntryId) |
| Modifier and Type | Method and Description |
|---|---|
static int |
calculateBlockSize(int streamingBlockSize,
int entryCount,
int entrySize) |
void |
close() |
long |
getBeginEntryId() |
long |
getBlockSize() |
long |
getEndEntryId() |
long |
getLedgerId() |
int |
read() |
available, mark, markSupported, read, read, reset, skippublic long getEndEntryId()
public long getLedgerId()
public long getBeginEntryId()
public long getBlockSize()
public int read()
throws IOException
read in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic static int calculateBlockSize(int streamingBlockSize,
int entryCount,
int entrySize)
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.