asa.port = hsa.getPort();
return asa;
}
static public ARegionLoad hrlToARL(HServerLoad.RegionLoad rl) throws IOException {
ARegionLoad arl = new ARegionLoad();
arl.memStoreSizeMB = rl.getMemStoreSizeMB();
arl.name = ByteBuffer.wrap(rl.getName());
arl.storefileIndexSizeMB = rl.getStorefileIndexSizeMB();
arl.storefiles = rl.getStorefiles();
arl.storefileSizeMB = rl.getStorefileSizeMB();