public static interface BlockCache.Loader
Modifier and Type | Method and Description |
---|---|
Map<String,BlockCache.Loader> |
getDependencies()
The cache blocks that this loader depends on.
|
byte[] |
load(int maxSize,
Map<String,byte[]> dependencies)
Loads a block.
|
Map<String,BlockCache.Loader> getDependencies()
load(int, Map)
.byte[] load(int maxSize, Map<String,byte[]> dependencies)
getDependencies()
should be loaded and passed.maxSize
- This is the maximum block size that will be cached.Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.