DefaultMetaChangeManager implements MetaChangeManager { @Override public void startIfPossible(String dcId) { logger.info("[startIfPossible] dcId: {}", dcId); if(metaCache.getXpipeMeta().findDc(dcId) == null) { logger.info("[startIfPossible] not found dcId: {}", dcId); return; } try { DcMetaChangeManager manager = getOrCreate(dcId); manager.compare(metaCache.getXpipeMeta().findDc(dcId)); manager.start(); } catch (Exception e) { logger.error("[start]", e); } }  @Override void start(); @Override void stop(); @Override DcMetaChangeManager getOrCreate(String dcId); @Override void ignore(String dcId); @Override void startIfPossible(String dcId);  }
@Test public void testStartIfPossible() { metaChangeManager.startIfPossible("NULL"); }