/** * Gets the total capacity of Tachyon's BlockStore. * * @return the capacity in bytes * @throws IOException */ public long getCapacityBytes() throws IOException { BlockMasterClient blockMasterClient = mContext.acquireMasterClient(); try { return blockMasterClient.getCapacityBytes(); } finally { mContext.releaseMasterClient(blockMasterClient); } }