Package | Description |
---|---|
com.oracle.bmc.hdfs.caching |
Modifier and Type | Method and Description |
---|---|
CachingObjectStorage.Configuration.ConfigurationBuilder |
CachingObjectStorage.Configuration.ConfigurationBuilder.aggressiveCacheGarbageCollection(int sleepMillis)
Sets an aggressive garbage collection strategy that causes a system-wide garbage collection
and then sleeps for a certain amount of milliseconds.
|
static CachingObjectStorage.Configuration.ConfigurationBuilder |
CachingObjectStorage.Configuration.builder() |
CachingObjectStorage.Configuration.ConfigurationBuilder |
CachingObjectStorage.Configuration.ConfigurationBuilder.cacheDirectory(Path cacheDirectory) |
CachingObjectStorage.Configuration.ConfigurationBuilder |
CachingObjectStorage.Configuration.ConfigurationBuilder.cacheGarbageCollection(Runnable cacheGarbageCollection)
Sets additional operations to be run when garbage collection is possible.
|
CachingObjectStorage.Configuration.ConfigurationBuilder |
CachingObjectStorage.Configuration.ConfigurationBuilder.client(com.oracle.bmc.objectstorage.ObjectStorage client) |
CachingObjectStorage.Configuration.ConfigurationBuilder |
CachingObjectStorage.Configuration.ConfigurationBuilder.concurrencyLevel(Integer concurrencyLevel)
Sets the number of cache sections.
|
CachingObjectStorage.Configuration.ConfigurationBuilder |
CachingObjectStorage.Configuration.ConfigurationBuilder.consistencyPolicy(ConsistencyPolicy consistencyPolicy) |
CachingObjectStorage.Configuration.ConfigurationBuilder |
CachingObjectStorage.Configuration.ConfigurationBuilder.deletionExecutor(ExecutorService deletionExecutor)
This executor provides the thread in which files will be deleted from the cache.
|
CachingObjectStorage.Configuration.ConfigurationBuilder |
CachingObjectStorage.Configuration.ConfigurationBuilder.downloadConfiguration(com.oracle.bmc.objectstorage.transfer.DownloadConfiguration downloadConfiguration)
Default is to not download in parallel.
|
CachingObjectStorage.Configuration.ConfigurationBuilder |
CachingObjectStorage.Configuration.ConfigurationBuilder.downloadExecutor(ExecutorService downloadExecutor)
This executor provides the threads in requests will be made.
|
CachingObjectStorage.Configuration.ConfigurationBuilder |
CachingObjectStorage.Configuration.ConfigurationBuilder.expireAfterAccess(Duration expireAfterAccess)
Sets the duration following the last access of any kind after which an item should be evicted.
|
CachingObjectStorage.Configuration.ConfigurationBuilder |
CachingObjectStorage.Configuration.ConfigurationBuilder.expireAfterWrite(Duration expireAfterWrite)
Sets the duration following the last write of any kind after which an item should be evicted.
|
CachingObjectStorage.Configuration.ConfigurationBuilder |
CachingObjectStorage.Configuration.ConfigurationBuilder.initialCapacity(Integer initialCapacity)
Sets the initial capacity of the cache.
|
CachingObjectStorage.Configuration.ConfigurationBuilder |
CachingObjectStorage.Configuration.ConfigurationBuilder.maximumSize(Integer maximumSize)
If set, the maximum size, in number of cached items.
|
CachingObjectStorage.Configuration.ConfigurationBuilder |
CachingObjectStorage.Configuration.ConfigurationBuilder.maximumWeight(Long maximumWeight)
If set, the maximum weight, in bytes per cache section.
|
static CachingObjectStorage.Configuration.ConfigurationBuilder |
CachingObjectStorage.newConfiguration()
Returns a new configuration builder.
|
CachingObjectStorage.Configuration.ConfigurationBuilder |
CachingObjectStorage.Configuration.ConfigurationBuilder.recordStats(boolean recordStats)
Whether to record statistics.
|
CachingObjectStorage.Configuration.ConfigurationBuilder |
CachingObjectStorage.Configuration.ConfigurationBuilder.rowLockProvider(CachingObjectStorage.RowLockProvider rowLockProvider)
Sets the row lock provider.
|
CachingObjectStorage.Configuration.ConfigurationBuilder |
CachingObjectStorage.Configuration.ConfigurationBuilder.uncacheablePredicate(CachingObjectStorage.UncacheablePredicate uncacheablePredicate)
Sets the predicate that decides if a request cannot be cached.
|
Copyright © 2016–2023. All rights reserved.