Package | Description |
---|---|
com.oracle.bmc.hdfs.caching |
Modifier and Type | Class and Description |
---|---|
class |
NoOpConsistencyPolicy
This consistency policy does not do any evictions.
|
class |
StrongConsistencyPolicy
This consistency policy evicts cache entries that have an etag that differs from the current etag.
|
Modifier and Type | Method and Description |
---|---|
static CachingObjectStorage |
CachingObjectStorage.build(com.oracle.bmc.objectstorage.ObjectStorage client,
com.oracle.bmc.objectstorage.transfer.DownloadConfiguration downloadConfiguration,
Path cacheDirectory,
ExecutorService downloadExecutor,
CachingObjectStorage.UncacheablePredicate uncacheablePredicate,
ConsistencyPolicy consistencyPolicy,
CacheBuilder<CachingObjectStorage.GetObjectRequestCacheKey,CachingObjectStorage.GetObjectResponseCacheValue,?> cacheBuilder,
ExecutorService deletionExecutor,
CachingObjectStorage.RowLockProvider rowLockProvider,
Runnable cacheGarbageCollection)
Returns a new
CachingObjectStorage client. |
CachingObjectStorage.Configuration.ConfigurationBuilder |
CachingObjectStorage.Configuration.ConfigurationBuilder.consistencyPolicy(ConsistencyPolicy consistencyPolicy) |
Constructor and Description |
---|
Handler(com.oracle.bmc.objectstorage.ObjectStorage client,
com.oracle.bmc.objectstorage.transfer.DownloadConfiguration downloadConfiguration,
Path cacheDirectory,
ExecutorService downloadExecutor,
CachingObjectStorage.UncacheablePredicate uncacheablePredicate,
ConsistencyPolicy consistencyPolicy,
CacheBuilder<CachingObjectStorage.GetObjectRequestCacheKey,CachingObjectStorage.GetObjectResponseCacheValue,?> cacheBuilder,
ExecutorService deletionExecutor,
CachingObjectStorage.RowLockProvider rowLockProvider,
Runnable cacheGarbageCollection)
Create an
ObjectStorage client that caches the contents returned by
ObjectStorage.getObject(GetObjectRequest) on disk. |
Copyright © 2016–2023. All rights reserved.