Sho SHIMIZU
Committed by Gerrit Code Review

Remove unused method/constructor/fields/constants

Change-Id: I38d77cf30ab9948acd74d24fcc15c65749fc347b
...@@ -286,28 +286,10 @@ public class IntentManager ...@@ -286,28 +286,10 @@ public class IntentManager
286 286
287 private class IntentBatchPreprocess implements Runnable { 287 private class IntentBatchPreprocess implements Runnable {
288 288
289 - // TODO make this configurable
290 - private static final int TIMEOUT_PER_OP = 500; // ms
291 - protected static final int MAX_ATTEMPTS = 3;
292 -
293 protected final Collection<IntentData> data; 289 protected final Collection<IntentData> data;
294 290
295 - // future holding current FlowRuleBatch installation result 291 + IntentBatchPreprocess(Collection<IntentData> data) {
296 - protected final long startTime = System.currentTimeMillis();
297 - protected final long endTime;
298 -
299 - private IntentBatchPreprocess(Collection<IntentData> data, long endTime) {
300 this.data = checkNotNull(data); 292 this.data = checkNotNull(data);
301 - this.endTime = endTime;
302 - }
303 -
304 - public IntentBatchPreprocess(Collection<IntentData> data) {
305 - this(data, System.currentTimeMillis() + data.size() * TIMEOUT_PER_OP);
306 - }
307 -
308 - // FIXME compute reasonable timeouts
309 - protected long calculateTimeoutLimit() {
310 - return System.currentTimeMillis() + data.size() * TIMEOUT_PER_OP;
311 } 293 }
312 294
313 @Override 295 @Override
......