public class UserBasedDelegatingStorage extends BaseDelegatingStorage
| Constructor and Description |
|---|
UserBasedDelegatingStorage(Function<String,StorageService> storageServiceBuilder,
List<String> amazonBuckets) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Integer> |
flushChunkSize(AbsoluteLocation location)
For some storages that cache data before writing it (i.e.
|
protected StorageService |
service(AbsoluteLocation location) |
list, objectExists, read, remove, writepublic UserBasedDelegatingStorage(Function<String,StorageService> storageServiceBuilder, List<String> amazonBuckets)
protected StorageService service(AbsoluteLocation location)
service in class BaseDelegatingStoragepublic Optional<Integer> flushChunkSize(AbsoluteLocation location)
StorageWriteServiceS3StorageService) this should indicate
buffer size, so that callers can optimize some parts of their logic.location - resource to check for buffer size-1 if undefinedCopyright © 2019. All rights reserved.