struct
LLM::Cache::Stats
- LLM::Cache::Stats
- Struct
- Value
- Object
Defined in:
llm/cache.crConstructors
Instance Method Summary
- #bytes : Int64
- #clone
- #copy_with(entries _entries = @entries, bytes _bytes = @bytes, oldest _oldest = @oldest, newest _newest = @newest)
- #entries : Int32
- #newest : Time | Nil
- #oldest : Time | Nil
Constructor Detail
def self.new(entries : Int32, bytes : Int64, oldest : Time | Nil, newest : Time | Nil)
#
Instance Method Detail
def copy_with(entries _entries = @entries, bytes _bytes = @bytes, oldest _oldest = @oldest, newest _newest = @newest)
#