Пример #1
0
  private ResourceMonitorType initializeResourceMonitorType(
      SystemSettingsType systemSettingType,
      org.voltdb.compiler.deploymentfile.ObjectFactory factory) {
    ResourceMonitorType monitorType = systemSettingType.getResourcemonitor();
    if (monitorType == null) {
      monitorType = factory.createResourceMonitorType();
      systemSettingType.setResourcemonitor(monitorType);
    }

    return monitorType;
  }