@Override
  public HardwareState getState() {
    return resourceStatePolicy.isDown() || datanode.getState() == HardwareState.UNAVAILABLE ? HardwareState.UNAVAILABLE
        : HardwareState.AVAILABLE;
  }
Validate the newly constructed AmbryDisk instance.
ambry-clustermap/src/main/java/com/github/ambry/clustermap/AmbryDisk.java