Class BucketProtoUtils
java.lang.Object
org.apache.hadoop.hbase.io.hfile.bucket.BucketProtoUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static BlockType
fromPb
(org.apache.hadoop.hbase.shaded.protobuf.generated.BucketCacheProtos.BlockType blockType) (package private) static Pair<ConcurrentHashMap<BlockCacheKey,
BucketEntry>, NavigableSet<BlockCacheKey>> fromPB
(Map<Integer, String> deserializers, org.apache.hadoop.hbase.shaded.protobuf.generated.BucketCacheProtos.BackingMap backingMap, Function<BucketEntry, ByteBuffAllocator.Recycler> createRecycler) fromPB
(Map<String, org.apache.hadoop.hbase.shaded.protobuf.generated.BucketCacheProtos.RegionFileSizeMap> prefetchHFileNames) (package private) static Map<String,
org.apache.hadoop.hbase.shaded.protobuf.generated.BucketCacheProtos.RegionFileSizeMap> 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.BlockPriority
private static org.apache.hadoop.hbase.shaded.protobuf.generated.BucketCacheProtos.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)
-
Constructor Details
-
BucketProtoUtils
private BucketProtoUtils()
-
-
Method Details
-
toPB
static org.apache.hadoop.hbase.shaded.protobuf.generated.BucketCacheProtos.BucketCacheEntry toPB(BucketCache cache) -
toPB
private static org.apache.hadoop.hbase.shaded.protobuf.generated.BucketCacheProtos.BackingMap toPB(Map<BlockCacheKey, BucketEntry> backingMap) -
toPB
private static org.apache.hadoop.hbase.shaded.protobuf.generated.BucketCacheProtos.BlockCacheKey toPB(BlockCacheKey key) -
toPB
-
toPB
private static org.apache.hadoop.hbase.shaded.protobuf.generated.BucketCacheProtos.BucketEntry toPB(BucketEntry entry) -
toPB
private static org.apache.hadoop.hbase.shaded.protobuf.generated.BucketCacheProtos.BlockPriority toPB(BlockPriority p) -
fromPB
static Pair<ConcurrentHashMap<BlockCacheKey,BucketEntry>, fromPBNavigableSet<BlockCacheKey>> (Map<Integer, String> deserializers, org.apache.hadoop.hbase.shaded.protobuf.generated.BucketCacheProtos.BackingMap backingMap, Function<BucketEntry, throws IOExceptionByteBuffAllocator.Recycler> createRecycler) - Throws:
IOException
-
fromPb
-
toCachedPB
-
fromPB
-