Class: LiterLlm::CacheBackendMemory
- Inherits:
-
Data
- Object
- Data
- LiterLlm::CacheBackendMemory
- Extended by:
- T::Sig
- Includes:
- CacheBackend
- Defined in:
- lib/liter_llm/native.rb
Overview
In-memory LRU cache (default). No external dependencies.
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_hash(hash) ⇒ Object
494 495 496 |
# File 'lib/liter_llm/native.rb', line 494 def self.from_hash(hash) new end |
Instance Method Details
#memory? ⇒ Boolean
488 |
# File 'lib/liter_llm/native.rb', line 488 def memory? = true |
#open_dal? ⇒ Boolean
490 491 492 |
# File 'lib/liter_llm/native.rb', line 490 def open_dal? = false # @param hash [Hash] deserialized from the native extension # @return [self] |