@Test public void removeNonexistingWorkerIsOk() { mInfo.removeWorker(1); }
public void removeWorker(long workerId) { mWorkerIdToAlias.remove(workerId); }
MasterBlockInfo { public void removeWorker(long workerId) { mWorkerIdToAlias.remove(workerId); } }
MasterBlockInfo { public void removeWorker(long workerId) { mWorkerIdToAlias.remove(workerId); } MasterBlockInfo(long blockId, long length); }
MasterBlockInfo { public void removeWorker(long workerId) { mWorkerIdToAlias.remove(workerId); } MasterBlockInfo(long blockId, long length); long getLength(); synchronized void updateLength(long length); long getBlockId(); void addWorker(long workerId, String tierAlias); void removeWorker(long workerId); Set<Long> getWorkers(); int getNumLocations(); List<MasterBlockLocation> getBlockLocations(); boolean isInTier(String targetTierAlias); @Override String toString(); }
MasterBlockInfo { public void removeWorker(long workerId) { mWorkerIdToAlias.remove(workerId); } MasterBlockInfo(long blockId, long length); long getLength(); synchronized void updateLength(long length); long getBlockId(); void addWorker(long workerId, String tierAlias); void removeWorker(long workerId); Set<Long> getWorkers(); int getNumLocations(); List<MasterBlockLocation> getBlockLocations(); boolean isInTier(String targetTierAlias); @Override String toString();  }