|
From: Jonathan L. <le...@us...> - 2009-01-23 15:10:25
|
Update of /cvsroot/pyxida/Pyxida/src/edu/harvard/syrah/pyxida/nc/lib In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv2615/src/edu/harvard/syrah/pyxida/nc/lib Modified Files: NCClient.java Log Message: Minor cleanup Index: NCClient.java =================================================================== RCS file: /cvsroot/pyxida/Pyxida/src/edu/harvard/syrah/pyxida/nc/lib/NCClient.java,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** NCClient.java 22 Jan 2009 19:46:39 -0000 1.16 --- NCClient.java 23 Jan 2009 15:10:21 -0000 1.17 *************** *** 64,69 **** public static int MAX_NEIGHBORS = 32; - - // Toss remote state of nodes if we haven't heard from them for thirty minutes // This allows us to keep around a list of RTTs for the node even if --- 64,67 ---- *************** *** 133,138 **** public static int RUNNING_STAT_HISTORY = 1024; - // 30 minutes - // final public static long STAT_EXPIRE_TIME = 30 * 60 * 1000; protected WindowStatistic running_sys_error; //protected WindowStatistic running_app_error; --- 131,134 ---- *************** *** 146,155 **** //protected EWMAStatistic running_gravity; - //protected long time_of_last_app_update = -1; - // keep the list of neighbors around for computing statistics protected final List<RemoteState<T>> neighbors; - // note: not just part of statistics // this is returned to querier of our coords so he knows how stale they are protected long time_of_last_sys_update = -1; --- 142,148 ---- *************** *** 161,174 **** protected final Set<T> hosts; ! //protected Coordinate start_centroid; ! ! //protected boolean updated_app_coord_at_least_once = false; ! ! //protected final List<Coordinate> start_coords; ! //protected final List<Coordinate> current_coords; ! //protected Coordinate nearest_neighbor; - protected T local_addr; /** --- 154,167 ---- protected final Set<T> hosts; ! protected T local_addr; ! ! public static void setRealLargeNetworkParameters () { ! MAX_NEIGHBORS = 512; ! // three days ! RS_EXPIRATION = 3 * 24 * 60 * 60 * 1000; ! } ! /** *************** *** 182,186 **** num_dims = _num_dims; - //app_coord = new Coordinate(num_dims); sys_coord = new Coordinate(num_dims); --- 175,178 ---- |