From 85eed99dc29d3d7c557db102eea9d0441a9c665c Mon Sep 17 00:00:00 2001
From: Gaetan Boismal <gaetan.boismal@forgerock.com>
Date: Wed, 23 Jul 2014 14:40:02 +0000
Subject: [PATCH] OPENDJ-1074 (CR-4030) Implement combined add/del rate tool Adding an add/del rate tool named addrate. -opendj-core ** EntryGenerator.java: * Changing the subtemplate parsing behavior, add the "generated branches" options ** TemplateFile.java * Adding the "generated branches" options ** addrate.template * New template used to generate entries
---
opendj-ldap-toolkit/src/main/java/com/forgerock/opendj/ldap/tools/ModRate.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/opendj-ldap-toolkit/src/main/java/com/forgerock/opendj/ldap/tools/ModRate.java b/opendj-ldap-toolkit/src/main/java/com/forgerock/opendj/ldap/tools/ModRate.java
index 419a736..bea207d 100644
--- a/opendj-ldap-toolkit/src/main/java/com/forgerock/opendj/ldap/tools/ModRate.java
+++ b/opendj-ldap-toolkit/src/main/java/com/forgerock/opendj/ldap/tools/ModRate.java
@@ -102,9 +102,9 @@
private String baseDN;
private String[] modStrings;
- private ModifyPerformanceRunner(final ArgumentParser argParser, final ConsoleApplication app)
+ private ModifyPerformanceRunner(final PerformanceRunnerOptions options)
throws ArgumentException {
- super(argParser, app, false, false, false);
+ super(options);
}
@Override
@@ -175,7 +175,7 @@
Utils.setDefaultPerfToolProperties();
connectionFactoryProvider = new ConnectionFactoryProvider(argParser, this);
- runner = new ModifyPerformanceRunner(argParser, this);
+ runner = new ModifyPerformanceRunner(new PerformanceRunnerOptions(argParser, this));
propertiesFileArgument = CommonArguments.getPropertiesFile();
argParser.addArgument(propertiesFileArgument);
--
Gitblit v1.10.0