Class DriveInfo


  • public class DriveInfo
    extends Drive
    • Field Detail

      • user

        protected final String user
      • claimed

        protected final Set<String> claimed
      • encryptionCipher

        @Nullable
        protected final String encryptionCipher
      • imaging

        @Nullable
        protected final String imaging
    • Method Detail

      • getStatus

        public DriveStatus getStatus()
        Returns:
        current status of the drive
      • getUser

        public String getUser()
        Returns:
        owner of the drive
      • getClaimed

        public Set<String> getClaimed()
        Returns:
        if drive is in use by a server, values are the server uuids
      • getEncryptionCipher

        @Nullable
        public String getEncryptionCipher()
        Returns:
        either 'none' or 'aes-xts-plain' (the default)
      • getImaging

        public String getImaging()
        Returns:
        percentage completed of drive imaging if this is underway, or 'queued' if waiting for another imaging operation to complete first
      • getMetrics

        public DriveMetrics getMetrics()
        Returns:
        i/o and request metrics for read and write ops
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Drive