Class: Xberg::LlmCacheConfig
- Inherits:
-
Object
- Object
- Xberg::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.
1491 |
# File 'sig/types.rbs', line 1491
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.
1488 1489 1490 |
# File 'sig/types.rbs', line 1488 def backend @backend end |
#backend_config ⇒ Hash[String, String]? (readonly)
Returns the value of attribute backend_config.
1489 1490 1491 |
# File 'sig/types.rbs', line 1489 def backend_config @backend_config end |
#max_entries ⇒ Integer? (readonly)
Returns the value of attribute max_entries.
1486 1487 1488 |
# File 'sig/types.rbs', line 1486 def max_entries @max_entries end |
#ttl_seconds ⇒ Integer? (readonly)
Returns the value of attribute ttl_seconds.
1487 1488 1489 |
# File 'sig/types.rbs', line 1487 def ttl_seconds @ttl_seconds end |