private RollingCountConfig(bool isPromotable, int minActivityThreshold, TimeSpan timeToLive, TimeSpan idleTimeToLive, bool isRemovable, TimeSpan windowInterval, TimeSpan windowBucketSize, TimeSpan idleCleanupInterval, Func <DateTime> timeProvider) : base(isPromotable, minActivityThreshold, timeToLive, idleTimeToLive, isRemovable, idleCleanupInterval, timeProvider) { SlidingWindow.ValidateSlidingWindowAndBucketLength(windowInterval, windowBucketSize); this.windowInterval = windowInterval; this.windowBucketSize = windowBucketSize; }