void shutdownBlockPool(String bpid, BlockListAsLongs blocksListsAsLongs) { BlockPoolSlice bp = bpSlices.get(bpid); if (bp != null) { bp.shutdown(blocksListsAsLongs); } bpSlices.remove(bpid); }
void shutdown() { if (cacheExecutor != null) { cacheExecutor.shutdown(); } Set<Entry<String, BlockPoolSlice>> set = bpSlices.entrySet(); for (Entry<String, BlockPoolSlice> entry : set) { entry.getValue().shutdown(null); } if (metrics != null) { metrics.unRegister(); } }
void shutdownBlockPool(String bpid) { BlockPoolSlice bp = bpSlices.get(bpid); if (bp != null) { bp.shutdown(); } bpSlices.remove(bpid); }
void shutdownBlockPool(String bpid) { BlockPoolSlice bp = bpSlices.get(bpid); if (bp != null) { bp.shutdown(); } bpSlices.remove(bpid); }
void shutdown() { if (cacheExecutor != null) { cacheExecutor.shutdown(); } Set<Entry<String, BlockPoolSlice>> set = bpSlices.entrySet(); for (Entry<String, BlockPoolSlice> entry : set) { entry.getValue().shutdown(); } }
void shutdown() { if (cacheExecutor != null) { cacheExecutor.shutdown(); } Set<Entry<String, BlockPoolSlice>> set = bpSlices.entrySet(); for (Entry<String, BlockPoolSlice> entry : set) { entry.getValue().shutdown(); } }