public boolean isInWindow(long from, long to) {
        long t = timestamp.getTime();
        return t <= to && t >= from;
    }
Returns true if the circuit fault falls within the given time range.
@param from
@param to
plugins/circuit-breaker-policy/src/main/java/io/apiman/plugins/circuit_breaker/CircuitFault.java