Logo AND Algorithmique Numérique Distribuée

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