/*****************************************************************************
 * Copyright 2011-2012 INRIA
 * Copyright 2011-2012 Universidade Nova de Lisboa
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *****************************************************************************/
package swift.dc;

import java.util.logging.Logger;

/**
 * Class that maintains data-center constants
 * 
 * @author nmp,smduarte
 * 
 */
public class Defaults {

	public static final int DEFAULT_K_STABILITY = 1;

	public static final Logger DCLogger = Logger.getLogger("swift.dc");

	public static final String SEQUENCER_URL = "tcp://*:29999";

	public static final String DATASERVER_DHT_URL = "tcp://*:29998";

	public static final String SERVER_URL = "tcp://*:29997";

	public static final String SERVER_URL4SEQUENCERS = "tcp://*:29996";

	public static final String PUBSUB_URL = "tcp://*:30003";

	public static final long INTERSEQ_RETRY = 5000; // period for retyring
													// re-sending data between
													// sequencers
	public static final long SYNC_PERIOD = 10000; // period for dumping objects
													// to storage

	public static final String DATABASE_CLASS = "DB"; // property for storing
														// the type of database
														// used
	public static final String DATABASE_SYSTEM_TABLE = "SYS_TABLE"; // name of
																	// system
																	// table

	public static final String RIAK_URL = "RIAK_URL"; // property of URL for
														// accessing Riak
	public static final String RIAK_PORT = "RIAK_PORT"; // property of port for
														// accessing Riak
	public static final String BERKELEYDB_DIR = "BERKELEY_DIR"; // directory for
																// storing
																// databases
																// locally

	public static final String PRUNE_POLICY = "prune";

	public static final int DEFAULT_TRXIDTIME = 5000;

	public static final long PRUNING_INTERVAL = 1000 * 60 * 60 * 24; // set to
																		// 1000
																		// *
																		// 60 *
																		// 60
																		// * 24
																		// for
																		// pruning
																		// once
																		// a
																		// day

	public static final boolean DEFAULT_DB_NULL = true;

	public static final double ONE_SECOND = 1.0;

}

@@ -1001,17 +1001,17 @@
 ILITY = 
-1
+0
 ;%0A%0A%09publ

revert K Stability default to 0...