-
- All Implemented Interfaces:
-
jetbrains.exodus.backup.Backupable,jetbrains.exodus.entitystore.BlobHandleGenerator,jetbrains.exodus.log.replication.S3FactoryBoilerplate
public final class S3BlobVault extends BlobVault implements S3FactoryBoilerplate
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classS3BlobVault.Companion
-
Field Summary
Fields Modifier and Type Field Description private final BlobHandleGeneratorblobHandleGeneratorprivate final S3AsyncClients3private final Stringbucketprivate final Stringlocationprivate final StringblobExtensionprivate final AwsRequestOverrideConfigurationrequestOverrideConfig
-
Constructor Summary
Constructors Constructor Description S3BlobVault(PersistentEntityStoreImpl store, BlobHandleGenerator blobHandleGenerator, S3AsyncClient s3, String bucket, String location, String blobExtension, AwsRequestOverrideConfiguration requestOverrideConfig)
-
Method Summary
Modifier and Type Method Description final BlobHandleGeneratorgetBlobHandleGenerator()S3AsyncClientgetS3()StringgetBucket()final StringgetLocation()final StringgetBlobExtension()AwsRequestOverrideConfigurationgetRequestOverrideConfig()BlobVaultItemgetBlob(Long blobHandle)StringgetBlobKey(Long blobHandle)BackupStrategygetBackupStrategy()InputStreamgetContent(Long blobHandle, Transaction txn)LonggetSize(Long blobHandle, Transaction txn)Longsize()BooleanrequiresTxn()LongnextHandle(Transaction txn)UnitflushBlobs(LongHashMap<InputStream> blobStreams, LongHashMap<File> blobFiles, LongSet deferredBlobsToDelete, Transaction txn)Unitclear()Unitclose()Booleandelete(Long blobHandle)-
Methods inherited from class jetbrains.exodus.entitystore.replication.S3BlobVault
checkPreconditions, cloneFile, cloneStream, copyStream, getBlobLocation, getIdentity, getRemoteFile, getSourceVault, getStringContent, getStringContentCacheHitRate -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getBlobHandleGenerator
final BlobHandleGenerator getBlobHandleGenerator()
-
getS3
S3AsyncClient getS3()
-
getLocation
final String getLocation()
-
getBlobExtension
final String getBlobExtension()
-
getRequestOverrideConfig
AwsRequestOverrideConfiguration getRequestOverrideConfig()
-
getBlobKey
String getBlobKey(Long blobHandle)
-
getBackupStrategy
BackupStrategy getBackupStrategy()
-
getContent
InputStream getContent(Long blobHandle, Transaction txn)
-
requiresTxn
Boolean requiresTxn()
-
nextHandle
Long nextHandle(Transaction txn)
-
flushBlobs
Unit flushBlobs(LongHashMap<InputStream> blobStreams, LongHashMap<File> blobFiles, LongSet deferredBlobsToDelete, Transaction txn)
-
-
-
-