private static class TestByteBufferIOEngine.MockBucketEntry extends org.apache.hadoop.hbase.io.hfile.bucket.BucketEntry
BucketEntry
so that we can set an arbitrary offset.Modifier and Type | Field and Description |
---|---|
private long |
off |
Constructor and Description |
---|
MockBucketEntry(long offset,
int length,
org.apache.hadoop.hbase.io.ByteBuffAllocator allocator) |
Modifier and Type | Method and Description |
---|---|
(package private) long |
offset() |
access, deserializerReference, getAccessCounter, getCachedTime, getLength, getOnDiskSizeWithHeader, getPriority, isRpcRef, markAsEvicted, refCnt, release, retain, setDeserializerReference, withWriteLock, wrapAsCacheable, wrapAsCacheable
private long off
MockBucketEntry(long offset, int length, org.apache.hadoop.hbase.io.ByteBuffAllocator allocator)
long offset()
offset
in class org.apache.hadoop.hbase.io.hfile.bucket.BucketEntry
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.