abstract class V1::Cache::Cacher

Direct Known Subclasses

Defined in:

v1/cache/cache.cr

Instance Method Summary

Instance Method Detail

abstract def delete(h : V1::Hash) #

delete removes the Layer with the given Hash from the Cache.


[View source]
abstract def get(h : V1::Hash) : V1::Layer #

get returns the Layer cached by the given hash, or raises NotFound exception if no such layer was found


[View source]
abstract def put(l : V1::Layer) : V1::Layer #

[View source]