System.out.println("oldCtx: " + event.getOldConfigContext());
System.out.println("newCtx: " + event.getConfigContext());
ArrayList configChangeList = event.getConfigChangeList();
for(int i=0; i<configChangeList.size(); i++) {
ConfigUpdate nextConfigUpdate = (ConfigUpdate)configChangeList.get(i);
String nextAttrName = nextConfigUpdate.getName();
System.out.println("name[" + i + "]=" + nextAttrName);
System.out.println(nextAttrName + ":oldval:" + nextConfigUpdate.getOldValue(nextAttrName));
System.out.println(nextAttrName + ":newval:" + nextConfigUpdate.getNewValue(nextAttrName));
}
ServerConfigLookup lookup = new ServerConfigLookup();
System.out.println("old value-health-check-enabled: " + lookup.getHadbHealthCheckFromConfig());
ServerConfigLookup lookup2 = new ServerConfigLookup(event.getConfigContext());
System.out.println("new value-health-check-enabled: " + lookup2.getHadbHealthCheckFromConfigDynamic());