use of com.hazelcast.internal.config.ConfigNamespace in project hazelcast by hazelcast.
the class ConfigUpdateResult method toJsonArray.
private JsonArray toJsonArray(Set<ConfigNamespace> configs) {
JsonArray configsAsJson = new JsonArray();
for (ConfigNamespace ns : configs) {
JsonObject namespaceAsJson = new JsonObject();
namespaceAsJson.add("sectionName", ns.getSectionName());
namespaceAsJson.add("configName", ns.getConfigName());
configsAsJson.add(namespaceAsJson);
}
return configsAsJson;
}
Aggregations