public static class CachingObjectStorage.Configuration.ConfigurationBuilder extends Object
public CachingObjectStorage.Configuration.ConfigurationBuilder aggressiveCacheGarbageCollection(int sleepMillis)
sleepMillis
- milliseconds to sleeppublic CachingObjectStorage.Configuration.ConfigurationBuilder client(com.oracle.bmc.objectstorage.ObjectStorage client)
this
.public CachingObjectStorage.Configuration.ConfigurationBuilder downloadConfiguration(com.oracle.bmc.objectstorage.transfer.DownloadConfiguration downloadConfiguration)
this
.public CachingObjectStorage.Configuration.ConfigurationBuilder cacheDirectory(Path cacheDirectory)
this
.public CachingObjectStorage.Configuration.ConfigurationBuilder initialCapacity(Integer initialCapacity)
this
.public CachingObjectStorage.Configuration.ConfigurationBuilder recordStats(boolean recordStats)
this
.public CachingObjectStorage.Configuration.ConfigurationBuilder maximumSize(Integer maximumSize)
this
.public CachingObjectStorage.Configuration.ConfigurationBuilder maximumWeight(Long maximumWeight)
this
.public CachingObjectStorage.Configuration.ConfigurationBuilder concurrencyLevel(Integer concurrencyLevel)
this
.public CachingObjectStorage.Configuration.ConfigurationBuilder expireAfterAccess(Duration expireAfterAccess)
this
.public CachingObjectStorage.Configuration.ConfigurationBuilder expireAfterWrite(Duration expireAfterWrite)
this
.public CachingObjectStorage.Configuration.ConfigurationBuilder consistencyPolicy(ConsistencyPolicy consistencyPolicy)
this
.public CachingObjectStorage.Configuration.ConfigurationBuilder downloadExecutor(ExecutorService downloadExecutor)
this
.public CachingObjectStorage.Configuration.ConfigurationBuilder deletionExecutor(ExecutorService deletionExecutor)
this
.public CachingObjectStorage.Configuration.ConfigurationBuilder uncacheablePredicate(CachingObjectStorage.UncacheablePredicate uncacheablePredicate)
this
.public CachingObjectStorage.Configuration.ConfigurationBuilder rowLockProvider(CachingObjectStorage.RowLockProvider rowLockProvider)
this
.public CachingObjectStorage.Configuration.ConfigurationBuilder cacheGarbageCollection(Runnable cacheGarbageCollection)
this
.public CachingObjectStorage.Configuration build()
Copyright © 2016–2023. All rights reserved.