示例#1
0
 /** @return the total used bytes on all tiers, on all workers of Alluxio */
 public long getUsedBytes() {
   long ret = 0;
   for (MasterWorkerInfo worker : mWorkers) {
     synchronized (worker) {
       ret += worker.getUsedBytes();
     }
   }
   return ret;
 }