Interface ConfigurableDataRecordAccessProvider
-
- All Superinterfaces:
DataRecordAccessProvider
- All Known Implementing Classes:
AzureDataStore
,S3DataStore
public interface ConfigurableDataRecordAccessProvider extends DataRecordAccessProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setBinaryTransferAccelerationEnabled(boolean enabled)
Enables or disables binary transfer acceleration, if supported by the service provider.void
setDirectDownloadURICacheSize(int maxSize)
Specifies the maximum number of read URIs to be cached in an in-memory cache.void
setDirectDownloadURIExpirySeconds(int expirySeconds)
Specifies the number of seconds before a signed download URI will expire.void
setDirectUploadURIExpirySeconds(int expirySeconds)
Specifies the number of seconds before a signed upload URI will expire.-
Methods inherited from interface org.apache.jackrabbit.oak.plugins.blob.datastore.directaccess.DataRecordAccessProvider
completeDataRecordUpload, getDownloadURI, initiateDataRecordUpload, initiateDataRecordUpload
-
-
-
-
Method Detail
-
setDirectDownloadURIExpirySeconds
void setDirectDownloadURIExpirySeconds(int expirySeconds)
Specifies the number of seconds before a signed download URI will expire. Setting this to 0 is equivalent to turning off the ability to use direct download.- Parameters:
expirySeconds
- Number of seconds before a download URI expires.
-
setDirectDownloadURICacheSize
void setDirectDownloadURICacheSize(int maxSize)
Specifies the maximum number of read URIs to be cached in an in-memory cache. Setting this to 0 is equivalent to disabling the cache.- Parameters:
maxSize
- Number of read URIs to cache.
-
setDirectUploadURIExpirySeconds
void setDirectUploadURIExpirySeconds(int expirySeconds)
Specifies the number of seconds before a signed upload URI will expire. Setting this to 0 is equivalent to turning off the ability to use direct upload.- Parameters:
expirySeconds
- Number of seconds before an upload URI expires.
-
setBinaryTransferAccelerationEnabled
void setBinaryTransferAccelerationEnabled(boolean enabled)
Enables or disables binary transfer acceleration, if supported by the service provider.- Parameters:
enabled
- True to enable binary transfer acceleration (if supported); False otherwise.
-
-