Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
MartenThrottle::Strategy
Inherits
Reference
<
Object
Constants
FixedWindow =
StrategyName::FixedWindow
SlidingWindow =
StrategyName::SlidingWindow
Constructors
for
(name :
StrategyName
) :
Strategy
Source
Class methods
fixed_window
Source
sliding_window
Source
Instance methods
check
(key :
String
, limit :
Int32
, window :
Time::Span
) :
Result
Source