private static double floorTime(double now, double period) {
    	double precision = 1000d;
    	long t = (long) (now * precision);
    	long d = (long) (period * precision);
    	return (t - (t % d)) / precision;
	}
private static double floorTime(double now, double period) {
    	double precision = 1000d;
    	long t = (long) (now * precision);
    	long d = (long) (period * precision);
    	return (t - (t % d)) / precision;
	}
private static double floorTime ( double now , double period ) { double precision = 1000d ; long t = ( long ) ( now * precision ) ; long d = ( long ) ( period * precision ) ; return ( t - ( t % d ) ) / precision ; }
TODO Change this config key
TODO Change this config key