class Limiter::Memory::Entry

Defined in:

limiter/memory.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(interval : Time::Span, max_count : UInt64) #

[View source]

Instance Method Detail

def async_run #

[View source]
def clear #

[View source]
def current_count : UInt64 #

[View source]
def increment #

[View source]
def interval : Time::Span #

[View source]
def limited? #

[View source]
def max_count : UInt64 #

[View source]
def next_free_after : Time::Span #

[View source]
def stop! #

[View source]