2 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.controller.dummy.datastore;
11 public class Configuration {
12 private final int maxDelayInMillis;
13 private final boolean dropReplies;
14 private final boolean causeTrouble;
16 public Configuration(int maxDelayInMillis, boolean dropReplies, boolean causeTrouble) {
17 this.maxDelayInMillis = maxDelayInMillis;
18 this.dropReplies = dropReplies;
19 this.causeTrouble = causeTrouble;
22 public int getMaxDelayInMillis() {
23 return maxDelayInMillis;
26 public boolean shouldDropReplies() {
30 public boolean shouldCauseTrouble() {