@InterfaceAudience.Private public class BlockCacheKey extends Object implements HeapSize, Serializable
BlockCache
Modifier and Type | Field and Description |
---|---|
static long |
FIXED_OVERHEAD |
Constructor and Description |
---|
BlockCacheKey(String hfileName,
long offset)
Construct a new BlockCacheKey
|
public BlockCacheKey(String hfileName, long offset)
hfileName
- The name of the HFile this block belongs to.offset
- Offset of the block into the filepublic long heapSize()
public String getHfileName()
public long getOffset()
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.