public void Startup() { _ruleState = InMemoryRuleState.GetInstance; }
public RequestElapsedTime(IRulePersist rulePersist, TimeSpan elapsedConfig) { _rulePersist = rulePersist; _elapsedConfig = elapsedConfig; }
public RequestPerElapsedTime(IRulePersist rulePersist, TimeSpan elapsedConfig, int reqLimtConfig) { _rulePersist = rulePersist; _elapsedConfig = elapsedConfig; _reqLimtConfig = reqLimtConfig; }