예제 #1
0
 /** @return the total capacity (in bytes) on all tiers, on all workers of Tachyon */
 public long getCapacityBytes() {
   long ret = 0;
   synchronized (mWorkers) {
     for (MasterWorkerInfo worker : mWorkers) {
       ret += worker.getCapacityBytes();
     }
   }
   return ret;
 }