-
- All Implemented Interfaces:
-
jetbrains.exodus.backup.Backupable,jetbrains.exodus.entitystore.BlobHandleGenerator,jetbrains.exodus.entitystore.DiskBasedBlobVault
public final class EncryptedBlobVault extends BlobVault implements DiskBasedBlobVault
-
-
Constructor Summary
Constructors Constructor Description EncryptedBlobVault(FileSystemBlobVaultOld decorated, StreamCipherProvider cipherProvider, ByteArray cipherKey, Long cipherBasicIV)
-
Method Summary
Modifier and Type Method Description FileSystemBlobVaultOldgetSourceVault()Unitclear()BackupStrategygetBackupStrategy()BlobVaultItemgetBlob(Long blobHandle)InputStreamgetContent(Long blobHandle, Transaction txn)Booleandelete(Long blobHandle)FilegetBlobLocation(Long blobHandle)FilegetBlobLocation(Long blobHandle, Boolean readonly)StringgetBlobKey(Long blobHandle)LonggetSize(Long blobHandle, Transaction txn)BooleanrequiresTxn()UnitflushBlobs(LongHashMap<InputStream> blobStreams, LongHashMap<File> blobFiles, LongSet deferredBlobsToDelete, Transaction txn)Longsize()LongnextHandle(Transaction txn)Unitclose()final StreamCipherOutputStreamwrapOutputStream(Long blobHandle, OutputStream output)-
Methods inherited from class jetbrains.exodus.crypto.EncryptedBlobVault
cloneFile, cloneStream, copyStream, getIdentity, getStringContent, getStringContentCacheHitRate -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
EncryptedBlobVault
EncryptedBlobVault(FileSystemBlobVaultOld decorated, StreamCipherProvider cipherProvider, ByteArray cipherKey, Long cipherBasicIV)
-
-
Method Detail
-
getSourceVault
FileSystemBlobVaultOld getSourceVault()
-
getBackupStrategy
BackupStrategy getBackupStrategy()
-
getContent
InputStream getContent(Long blobHandle, Transaction txn)
-
getBlobLocation
File getBlobLocation(Long blobHandle)
-
getBlobLocation
File getBlobLocation(Long blobHandle, Boolean readonly)
-
getBlobKey
String getBlobKey(Long blobHandle)
-
requiresTxn
Boolean requiresTxn()
-
flushBlobs
Unit flushBlobs(LongHashMap<InputStream> blobStreams, LongHashMap<File> blobFiles, LongSet deferredBlobsToDelete, Transaction txn)
-
nextHandle
Long nextHandle(Transaction txn)
-
wrapOutputStream
final StreamCipherOutputStream wrapOutputStream(Long blobHandle, OutputStream output)
-
-
-
-