struct GraphQL::DataLoader::MemoryCache(K, V)

Included Modules

Defined in:

graphql-dataloader/memory_cache.cr

Constructors

Instance Method Summary

Instance methods inherited from module GraphQL::DataLoader::Cache(K, V)

[](key : K) : V [], []=(key : K, value : V) : Nil []=, []?(key : K) : V | Nil []?, clear : Nil clear, delete(key : K) : Nil delete, get(key : K, &block : -> V) get, has_key?(key : K) : Bool has_key?

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def [](key : K) : V #

[View source]
def []=(key : K, value : V) : Nil #

[View source]
def []?(key : K) : V | Nil #

[View source]
def clear : Nil #

[View source]
def delete(key : K) : Nil #

[View source]
def has_key?(key : K) : Bool #

[View source]
def initialize #

[View source]