public static class ROOTFile.FileBackedBuf extends Object implements BackingBuf
| Modifier and Type | Class and Description |
|---|---|
class |
ROOTFile.FileBackedBuf.CacheKey |
| Modifier | Constructor and Description |
|---|---|
protected |
FileBackedBuf(ROOTFile fh) |
| Modifier and Type | Method and Description |
|---|---|
BackingBuf |
duplicate() |
long |
getLimit() |
boolean |
hasLimit() |
ByteBuffer |
read(long off,
long len)
Reads bytes from the backing store
|
protected FileBackedBuf(ROOTFile fh)
public ByteBuffer read(long off, long len) throws IOException
BackingBufread in interface BackingBufoff - Offset into the backing storelen - Requested lengthIOException - Exception if backing store failspublic boolean hasLimit()
throws IOException
hasLimit in interface BackingBufIOExceptionpublic long getLimit()
throws IOException
getLimit in interface BackingBufIOExceptionpublic BackingBuf duplicate()
duplicate in interface BackingBufCopyright © 2019. All rights reserved.