Class TestPrefetchPersistence
java.lang.Object
org.apache.hadoop.hbase.io.hfile.bucket.TestPrefetchPersistence
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) org.apache.hadoop.hbase.io.hfile.bucket.BucketCacheprivate org.apache.hadoop.hbase.io.hfile.CacheConfig(package private) final longstatic final HBaseClassTestRuleprivate org.apache.hadoop.conf.Configurationintint[]private static final intprivate org.apache.hadoop.fs.FileSystemprivate static final org.slf4j.Loggerorg.junit.rules.TestNameprivate static final intprivate static final int(package private) Stringprivate static final HBaseTestingUtility(package private) org.apache.hadoop.fs.Path(package private) final int(package private) final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondata()static org.apache.hadoop.hbase.KeyValue.TypegenerateKeyType(Random rand) voidreadStoreFile(org.apache.hadoop.fs.Path storeFilePath) voidsetup()voidorg.apache.hadoop.fs.PathwriteStoreFile(String fname)
-
Field Details
-
CLASS_RULE
-
name
-
constructedBlockSize
-
constructedBlockSizes
-
LOG
-
TEST_UTIL
-
NUM_VALID_KEY_TYPES
-
DATA_BLOCK_SIZE
- See Also:
-
NUM_KV
- See Also:
-
conf
-
cacheConf
-
fs
-
prefetchPersistencePath
-
testDir
org.apache.hadoop.fs.Path testDir -
bucketCache
org.apache.hadoop.hbase.io.hfile.bucket.BucketCache bucketCache -
capacitySize
- See Also:
-
writeThreads
- See Also:
-
writerQLen
- See Also:
-
-
Constructor Details
-
TestPrefetchPersistence
public TestPrefetchPersistence()
-
-
Method Details
-
data
-
setup
- Throws:
IOException
-
testPrefetchPersistence
- Throws:
Exception
-
readStoreFile
- Throws:
Exception
-
writeStoreFile
- Throws:
IOException
-
generateKeyType
-