Class ReencryptionStorageImpl
java.lang.Object
org.gridgain.internal.encryption.reencryption.ReencryptionStorageImpl
- All Implemented Interfaces:
org.gridgain.internal.encryption.reencryption.ReencryptionStorage
public class ReencryptionStorageImpl
extends Object
implements org.gridgain.internal.encryption.reencryption.ReencryptionStorage
Implementation of
ReencryptionStorage based on vault storage.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gridgain.internal.encryption.reencryption.ReencryptionStorage
org.gridgain.internal.encryption.reencryption.ReencryptionStorage.FinishReason -
Constructor Summary
ConstructorsConstructorDescriptionReencryptionStorageImpl(org.apache.ignite.internal.vault.VaultManager vaultManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidfinishReencryption(int groupId, int keyId, org.gridgain.internal.encryption.reencryption.ReencryptionStorage.FinishReason reason) @Nullable org.gridgain.internal.encryption.reencryption.ReencryptionStatusgroupReencryptionStatus(int groupId, int keyId) @Nullable org.gridgain.internal.encryption.reencryption.ReencryptionStatuslastKeyReencryptionStatus(int groupId) voidregisterReencryption(int groupId, int keyId, boolean backgroundEnabled) voidsetCount(int groupId, int keyId, int partitionId, int count) voidupdateProgress(int groupId, int keyId, int partitionId, int index)
-
Constructor Details
-
ReencryptionStorageImpl
public ReencryptionStorageImpl(org.apache.ignite.internal.vault.VaultManager vaultManager)
-
-
Method Details
-
registerReencryption
public void registerReencryption(int groupId, int keyId, boolean backgroundEnabled) - Specified by:
registerReencryptionin interfaceorg.gridgain.internal.encryption.reencryption.ReencryptionStorage
-
lastKeyReencryptionStatus
@Nullable public @Nullable org.gridgain.internal.encryption.reencryption.ReencryptionStatus lastKeyReencryptionStatus(int groupId) - Specified by:
lastKeyReencryptionStatusin interfaceorg.gridgain.internal.encryption.reencryption.ReencryptionStorage
-
groupReencryptionStatus
@Nullable public @Nullable org.gridgain.internal.encryption.reencryption.ReencryptionStatus groupReencryptionStatus(int groupId, int keyId) - Specified by:
groupReencryptionStatusin interfaceorg.gridgain.internal.encryption.reencryption.ReencryptionStorage
-
updateProgress
public void updateProgress(int groupId, int keyId, int partitionId, int index) - Specified by:
updateProgressin interfaceorg.gridgain.internal.encryption.reencryption.ReencryptionStorage
-
setCount
public void setCount(int groupId, int keyId, int partitionId, int count) - Specified by:
setCountin interfaceorg.gridgain.internal.encryption.reencryption.ReencryptionStorage
-
finishReencryption
public void finishReencryption(int groupId, int keyId, org.gridgain.internal.encryption.reencryption.ReencryptionStorage.FinishReason reason) - Specified by:
finishReencryptionin interfaceorg.gridgain.internal.encryption.reencryption.ReencryptionStorage
-