Class: LiterLlm::LlmCacheConfig
- Inherits:
-
Object
- Object
- LiterLlm::LlmCacheConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#backend ⇒ String?
readonly
Returns the value of attribute backend.
-
#backend_config ⇒ Hash[String, String]?
readonly
Returns the value of attribute backend_config.
-
#max_entries ⇒ Integer?
readonly
Returns the value of attribute max_entries.
-
#ttl_seconds ⇒ Integer?
readonly
Returns the value of attribute ttl_seconds.
Instance Method Summary collapse
-
#initialize ⇒ LlmCacheConfig
constructor
A new instance of LlmCacheConfig.
Constructor Details
#initialize ⇒ LlmCacheConfig
Returns a new instance of LlmCacheConfig.
711 |
# File 'sig/types.rbs', line 711
def initialize: (?max_entries: Integer, ?ttl_seconds: Integer, ?backend: String, ?backend_config: Hash[String, String]) -> void
|
Instance Attribute Details
#backend ⇒ String? (readonly)
Returns the value of attribute backend.
708 709 710 |
# File 'sig/types.rbs', line 708 def backend @backend end |
#backend_config ⇒ Hash[String, String]? (readonly)
Returns the value of attribute backend_config.
709 710 711 |
# File 'sig/types.rbs', line 709 def backend_config @backend_config end |
#max_entries ⇒ Integer? (readonly)
Returns the value of attribute max_entries.
706 707 708 |
# File 'sig/types.rbs', line 706 def max_entries @max_entries end |
#ttl_seconds ⇒ Integer? (readonly)
Returns the value of attribute ttl_seconds.
707 708 709 |
# File 'sig/types.rbs', line 707 def ttl_seconds @ttl_seconds end |