class

Fetcher::RegistryStore(T)

Inherits Reference < Object

Abstract base class for stores that follow the Entry/get/cleanup/enforce_limit pattern. Concrete stores implement create_value(config) : T and any store-specific methods.

Constants

DEFAULT_TTL = 5.minutes

Constructors

new(max_entries : Int32 = 10000)
Source

Instance methods

cleanup
Source
clear
Source
clear_expired

Alias for cleanup (backward compatibility).

Source
create_value(config) : T
Source
get(key : String, config) : T
Source