public BlockInfo getInfo ( long blockId ) throws IOException { try ( CloseableResource < BlockMasterClient > masterClientResource = mContext . acquireBlockMasterClientResource ( ) ) { return masterClientResource . get ( ) . getBlockInfo ( blockId ) ; } }
Gets the block info of a block if it exists .