// Get all the ZNRecords in the cluster and set them as bind variables
Builder keyBuilder = accessor.keyBuilder();
// List<ZNRecord> instanceConfigs = accessor.getChildValues(PropertyType.CONFIGS,
// ConfigScopeProperty.PARTICIPANT.toString());
List<ZNRecord> instanceConfigs = HelixProperty.convertToList(accessor.getChildValues(keyBuilder.instanceConfigs()));
List<ZNRecord> liveInstances = HelixProperty.convertToList(accessor.getChildValues(keyBuilder.liveInstances()));
List<ZNRecord> stateModelDefs = HelixProperty.convertToList(accessor.getChildValues(keyBuilder.stateModelDefs()));
// Idealstates are stored in a map from resource name to idealState ZNRecord