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

    Constructors
    Constructor
    Description
    ReencryptionStorageImpl(org.apache.ignite.internal.vault.VaultManager vaultManager)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    finishReencryption(int groupId, int keyId, org.gridgain.internal.encryption.reencryption.ReencryptionStorage.FinishReason reason)
     
    @Nullable org.gridgain.internal.encryption.reencryption.ReencryptionStatus
    groupReencryptionStatus(int groupId, int keyId)
     
    @Nullable org.gridgain.internal.encryption.reencryption.ReencryptionStatus
     
    void
    registerReencryption(int groupId, int keyId, boolean backgroundEnabled)
     
    void
    setCount(int groupId, int keyId, int partitionId, int count)
     
    void
    updateProgress(int groupId, int keyId, int partitionId, int index)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      registerReencryption in interface org.gridgain.internal.encryption.reencryption.ReencryptionStorage
    • lastKeyReencryptionStatus

      @Nullable public @Nullable org.gridgain.internal.encryption.reencryption.ReencryptionStatus lastKeyReencryptionStatus(int groupId)
      Specified by:
      lastKeyReencryptionStatus in interface org.gridgain.internal.encryption.reencryption.ReencryptionStorage
    • groupReencryptionStatus

      @Nullable public @Nullable org.gridgain.internal.encryption.reencryption.ReencryptionStatus groupReencryptionStatus(int groupId, int keyId)
      Specified by:
      groupReencryptionStatus in interface org.gridgain.internal.encryption.reencryption.ReencryptionStorage
    • updateProgress

      public void updateProgress(int groupId, int keyId, int partitionId, int index)
      Specified by:
      updateProgress in interface org.gridgain.internal.encryption.reencryption.ReencryptionStorage
    • setCount

      public void setCount(int groupId, int keyId, int partitionId, int count)
      Specified by:
      setCount in interface org.gridgain.internal.encryption.reencryption.ReencryptionStorage
    • finishReencryption

      public void finishReencryption(int groupId, int keyId, org.gridgain.internal.encryption.reencryption.ReencryptionStorage.FinishReason reason)
      Specified by:
      finishReencryption in interface org.gridgain.internal.encryption.reencryption.ReencryptionStorage