Class CachableBlockFile.CachableBuilder
- java.lang.Object
-
- org.apache.accumulo.core.file.blockfile.impl.CachableBlockFile.CachableBuilder
-
- Enclosing class:
- CachableBlockFile
public static class CachableBlockFile.CachableBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description CachableBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CachableBlockFile.CachableBuilder
cacheProvider(CacheProvider cacheProvider)
CachableBlockFile.CachableBuilder
conf(org.apache.hadoop.conf.Configuration hadoopConf)
CachableBlockFile.CachableBuilder
cryptoService(CryptoService cryptoService)
CachableBlockFile.CachableBuilder
fileLen(com.github.benmanes.caffeine.cache.Cache<String,Long> cache)
CachableBlockFile.CachableBuilder
fsPath(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path dataFile)
CachableBlockFile.CachableBuilder
fsPath(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path dataFile, boolean dropCacheBehind)
CachableBlockFile.CachableBuilder
input(InputStream is, String cacheId)
CachableBlockFile.CachableBuilder
length(long len)
CachableBlockFile.CachableBuilder
readLimiter(RateLimiter readLimiter)
-
-
-
Method Detail
-
conf
public CachableBlockFile.CachableBuilder conf(org.apache.hadoop.conf.Configuration hadoopConf)
-
fsPath
public CachableBlockFile.CachableBuilder fsPath(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path dataFile)
-
fsPath
public CachableBlockFile.CachableBuilder fsPath(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path dataFile, boolean dropCacheBehind)
-
input
public CachableBlockFile.CachableBuilder input(InputStream is, String cacheId)
-
length
public CachableBlockFile.CachableBuilder length(long len)
-
fileLen
public CachableBlockFile.CachableBuilder fileLen(com.github.benmanes.caffeine.cache.Cache<String,Long> cache)
-
cacheProvider
public CachableBlockFile.CachableBuilder cacheProvider(CacheProvider cacheProvider)
-
readLimiter
public CachableBlockFile.CachableBuilder readLimiter(RateLimiter readLimiter)
-
cryptoService
public CachableBlockFile.CachableBuilder cryptoService(CryptoService cryptoService)
-
-