@InterfaceAudience.Private final class BucketProtoUtils extends Object
Modifier | Constructor and Description |
---|---|
private |
BucketProtoUtils() |
Modifier and Type | Method and Description |
---|---|
private static BlockType |
fromPb(org.apache.hadoop.hbase.shaded.protobuf.generated.BucketCacheProtos.BlockType blockType) |
(package private) static ConcurrentHashMap<BlockCacheKey,BucketEntry> |
fromPB(Map<Integer,String> deserializers,
org.apache.hadoop.hbase.shaded.protobuf.generated.BucketCacheProtos.BackingMap backingMap,
Function<BucketEntry,ByteBuffAllocator.Recycler> createRecycler) |
private static org.apache.hadoop.hbase.shaded.protobuf.generated.BucketCacheProtos.BlockCacheKey |
toPB(BlockCacheKey key) |
private static org.apache.hadoop.hbase.shaded.protobuf.generated.BucketCacheProtos.BlockPriority |
toPB(BlockPriority p) |
private static org.apache.hadoop.hbase.shaded.protobuf.generated.BucketCacheProtos.BlockType |
toPB(BlockType blockType) |
(package private) static org.apache.hadoop.hbase.shaded.protobuf.generated.BucketCacheProtos.BucketCacheEntry |
toPB(BucketCache cache) |
private static org.apache.hadoop.hbase.shaded.protobuf.generated.BucketCacheProtos.BucketEntry |
toPB(BucketEntry entry) |
private static org.apache.hadoop.hbase.shaded.protobuf.generated.BucketCacheProtos.BackingMap |
toPB(Map<BlockCacheKey,BucketEntry> backingMap) |
private BucketProtoUtils()
static org.apache.hadoop.hbase.shaded.protobuf.generated.BucketCacheProtos.BucketCacheEntry toPB(BucketCache cache)
private static org.apache.hadoop.hbase.shaded.protobuf.generated.BucketCacheProtos.BackingMap toPB(Map<BlockCacheKey,BucketEntry> backingMap)
private static org.apache.hadoop.hbase.shaded.protobuf.generated.BucketCacheProtos.BlockCacheKey toPB(BlockCacheKey key)
private static org.apache.hadoop.hbase.shaded.protobuf.generated.BucketCacheProtos.BlockType toPB(BlockType blockType)
private static org.apache.hadoop.hbase.shaded.protobuf.generated.BucketCacheProtos.BucketEntry toPB(BucketEntry entry)
private static org.apache.hadoop.hbase.shaded.protobuf.generated.BucketCacheProtos.BlockPriority toPB(BlockPriority p)
static ConcurrentHashMap<BlockCacheKey,BucketEntry> fromPB(Map<Integer,String> deserializers, org.apache.hadoop.hbase.shaded.protobuf.generated.BucketCacheProtos.BackingMap backingMap, Function<BucketEntry,ByteBuffAllocator.Recycler> createRecycler) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.