From 3bb25d3ac3a0f69011a8c659e1739d8e1d20304e Mon Sep 17 00:00:00 2001 From: Giuliano Casale Date: Tue, 14 Mar 2017 21:25:48 +0000 Subject: [PATCH] Update ExclamationTopology.java --- .../java/uk/ic/dice/qt/examples/ExclamationTopology.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/qt-lib/src/main/java/uk/ic/dice/qt/examples/ExclamationTopology.java b/qt-lib/src/main/java/uk/ic/dice/qt/examples/ExclamationTopology.java index 7ce5855..1297108 100644 --- a/qt-lib/src/main/java/uk/ic/dice/qt/examples/ExclamationTopology.java +++ b/qt-lib/src/main/java/uk/ic/dice/qt/examples/ExclamationTopology.java @@ -133,8 +133,9 @@ public static void main(String[] args) throws Exception { timeStampTime = new SimpleDateFormat("HH:mm:ss.000").format(new Date()); String tEnd = timeStampDate + "T"+ timeStampTime + "Z"; int maxDMONRecords = 100; - String DMONurl = "http://109.231.122.229:5001"; // to configure as needed - curMaxBoltCapacity = DMONBoltCapacityMonitor.getMaxCapacity(DMONurl, tStart, tEnd, maxDMONRecords); + String DMONurl = "http://0.0.0.0:5001"; // to configure as needed + // uncomment the next lines to enable DMON-based monitoring + /*curMaxBoltCapacity = DMONBoltCapacityMonitor.getMaxCapacity(DMONurl, tStart, tEnd, maxDMONRecords); System.out.println("Max Bolt Capacity (DMON," + "Topology: " + topologyId + " Start: " + tStart + " End: " + tEnd +"): "+curMaxBoltCapacity); @@ -142,6 +143,7 @@ public static void main(String[] args) throws Exception { System.out.println("Current bolt capacity is "+ curMaxBoltCapacity + " and exceeds the maximum bolt capacity: " + maxBoltCapacity + " STOPPING experiment."); return; } + */ } } }