Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
66c9109a493603326bc5130832ef781b90d67b89
[simgrid.git] / examples / java / dht / chord / Common.java
1 /* Copyright (c) 2006-2014. The SimGrid Team.
2  * All rights reserved.                                                     */
3
4 /* This program is free software; you can redistribute it and/or modify it
5  * under the terms of the license (GNU LGPL) which comes with this package. */
6
7 package dht.chord;
8
9 public class Common {
10   public final static int COMM_SIZE = 10;
11   public final static int COMP_SIZE = 0;
12   
13   public final static int NB_BITS = 24;
14   public final static int NB_KEYS = 16777216;
15   public final static int TIMEOUT = 50;
16   public final static int MAX_SIMULATION_TIME = 1000;
17   public final static int PERIODIC_STABILIZE_DELAY = 20;
18   public final static int PERIODIC_FIX_FINGERS_DELAY = 120;
19   public final static int PERIODIC_CHECK_PREDECESSOR_DELAY = 120;
20   public final static int PERIODIC_LOOKUP_DELAY = 10;
21   private Common() {
22     throw new IllegalAccessError("Utility class");
23   }
24 }