Class ZoneReencryptionStatus

java.lang.Object
org.apache.hadoop.hdfs.protocol.ZoneReencryptionStatus

public class ZoneReencryptionStatus extends Object
A class representing information about re-encryption of an encryption zone.

FSDirectory lock is used for synchronization (except test-only methods, which are not protected).

  • Constructor Details

    • ZoneReencryptionStatus

      public ZoneReencryptionStatus()
  • Method Details

    • getId

      public long getId()
    • getZoneName

      public String getZoneName()
    • getState

      public ZoneReencryptionStatus.State getState()
    • getEzKeyVersionName

      public String getEzKeyVersionName()
    • getSubmissionTime

      public long getSubmissionTime()
    • getCompletionTime

      public long getCompletionTime()
    • isCanceled

      public boolean isCanceled()
    • getLastCheckpointFile

      public String getLastCheckpointFile()
    • getFilesReencrypted

      public long getFilesReencrypted()
    • getNumReencryptionFailures

      public long getNumReencryptionFailures()
    • reset

      public void reset()
    • setZoneName

      public void setZoneName(String name)
      Set the zone name. The zone name is resolved from inode id and set during a listReencryptionStatus call, for the crypto admin to consume.
    • cancel

      public void cancel()