code: public long getCapacityBytes() throws IOException {
      try (CloseableResource<BlockMasterClient> blockMasterClientResource =
          mContext.acquireBlockMasterClientResource()) {
        return blockMasterClientResource.get().getCapacityBytes();
      }
    }
docs: Gets the total capacity of Alluxio's BlockStore.
  
  @return the capacity in bytes