DefaultDcMetaChangeManager extends AbstractStartStoppable implements DcMetaChangeManager, MetaComparatorVisitor<ClusterMeta> { @Override public void compare(DcMeta future) { if(current == null) { current = future; return; } DcMetaComparator comparator = DcMetaComparator.buildComparator(current, future); comparator.accept(this); current = future; } DefaultDcMetaChangeManager(HealthCheckInstanceManager instanceManager); @Override void compare(DcMeta future); @Override void visitAdded(ClusterMeta added); @Override void visitModified(MetaComparator comparator); @Override void visitRemoved(ClusterMeta removed);  }
@Test public void compare() { }