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
656 657 658 |
# File 'lib/liter_llm/native.rb', line 656 def self.from_hash(hash) new end |
Instance Method Details
#memory? ⇒ Boolean
650 |
# File 'lib/liter_llm/native.rb', line 650 def memory? = true |
#open_dal? ⇒ Boolean
652 653 654 |
# File 'lib/liter_llm/native.rb', line 652 def open_dal? = false # @param hash [Hash] deserialized from the native extension # @return [self] |