private static class TestRAMCache.MockHFileBlock extends org.apache.hadoop.hbase.io.hfile.HFileBlock
| Modifier and Type | Field and Description |
|---|---|
private CountDownLatch |
latch |
| Constructor and Description |
|---|
MockHFileBlock(org.apache.hadoop.hbase.io.hfile.BlockType blockType,
int onDiskSizeWithoutHeader,
int uncompressedSizeWithoutHeader,
long prevBlockOffset,
ByteBuffer b,
boolean fillHeader,
long offset,
int nextBlockOnDiskSize,
int onDiskDataSizeWithHeader,
org.apache.hadoop.hbase.io.hfile.HFileContext fileContext,
org.apache.hadoop.hbase.io.ByteBuffAllocator allocator) |
| Modifier and Type | Method and Description |
|---|---|
TestRAMCache.MockHFileBlock |
retain() |
void |
setLatch(CountDownLatch latch) |
equals, getBlockType, getBufferReadOnly, getBufferWithoutHeader, getByteBuffAllocator, getDeserializer, getHFileContext, getMetaData, getOnDiskSizeWithHeader, getSerializedLength, hashCode, headerSize, headerSize, heapSize, isSharedMem, isUnpacked, refCnt, release, serialize, toString, touch, touchprivate volatile CountDownLatch latch
MockHFileBlock(org.apache.hadoop.hbase.io.hfile.BlockType blockType, int onDiskSizeWithoutHeader, int uncompressedSizeWithoutHeader, long prevBlockOffset, ByteBuffer b, boolean fillHeader, long offset, int nextBlockOnDiskSize, int onDiskDataSizeWithHeader, org.apache.hadoop.hbase.io.hfile.HFileContext fileContext, org.apache.hadoop.hbase.io.ByteBuffAllocator allocator)
public void setLatch(CountDownLatch latch)
public TestRAMCache.MockHFileBlock retain()
retain in interface org.apache.hadoop.hbase.io.hfile.Cacheableretain in interface org.apache.hbase.thirdparty.io.netty.util.ReferenceCountedretain in class org.apache.hadoop.hbase.io.hfile.HFileBlockCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.