private long getInitialCoolDown(long coolDownSecs) {
        long initialCoolDownInPastSecs = 120;
        initialCoolDownInPastSecs = Math.min(coolDownSecs, initialCoolDownInPastSecs);
        return System.currentTimeMillis() - coolDownSecs * 1000 + initialCoolDownInPastSecs * 1000;
    }
private long getInitialCoolDown(long coolDownSecs) {
        long initialCoolDownInPastSecs = 120;
        initialCoolDownInPastSecs = Math.min(coolDownSecs, initialCoolDownInPastSecs);
        return System.currentTimeMillis() - coolDownSecs * 1000 + initialCoolDownInPastSecs * 1000;
    }
private long getInitialCoolDown ( long coolDownSecs ) { long initialCoolDownInPastSecs = 120 ; initialCoolDownInPastSecs = Math . min ( coolDownSecs , initialCoolDownInPastSecs ) ; return System . currentTimeMillis ( ) - coolDownSecs * 1000 + initialCoolDownInPastSecs * 1000 ; }
make scaling activity happen after a fixed delayed time for the first time encountered (e.g., server start)
make scaling activity happen after a fixed delayed time for the first time encountered ( e . g . server start )