X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f8e7b4cec7149a685b0a4a58ba56088613124377..6fbcdfade89b3812c24152c86f8aa3be510df7f2:/examples/deprecated/java/dht/kademlia/Common.java diff --git a/examples/deprecated/java/dht/kademlia/Common.java b/examples/deprecated/java/dht/kademlia/Common.java deleted file mode 100644 index 64d0730843..0000000000 --- a/examples/deprecated/java/dht/kademlia/Common.java +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2012-2023. The SimGrid Team. - * All rights reserved. */ - -/* This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. */ - -package dht.kademlia; - -public class Common { - /* Common constants used all over the simulation */ - public static final int COMM_SIZE = 1; - public static final int COMP_SIZE = 0; - - public static final int RANDOM_LOOKUP_INTERVAL = 100; - - public static final int ALPHA = 3; - - public static final int IDENTIFIER_SIZE = 32; - /* Maximum size of the buckets */ - public static final int BUCKET_SIZE = 20; - /* Maximum number of trials for the "JOIN" request */ - public static final int MAX_JOIN_TRIALS = 4; - /* Timeout for a "FIND_NODE" request to a node */ - public static final int FIND_NODE_TIMEOUT = 10; - /* Global timeout for a FIND_NODE request */ - public static final int FIND_NODE_GLOBAL_TIMEOUT = 50; - - public static final int MAX_STEPS = 10; - public static final int JOIN_BUCKETS_QUERIES = 1; - private Common() { - throw new IllegalAccessError("Utility class"); - } -}