Class: LiterLlm::CacheConfig
- Inherits:
-
Object
- Object
- LiterLlm::CacheConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#backend ⇒ CacheBackend
readonly
Returns the value of attribute backend.
-
#max_entries ⇒ Integer
readonly
Returns the value of attribute max_entries.
-
#ttl ⇒ Integer
readonly
Returns the value of attribute ttl.
Instance Method Summary collapse
-
#initialize ⇒ CacheConfig
constructor
A new instance of CacheConfig.
Constructor Details
#initialize ⇒ CacheConfig
Returns a new instance of CacheConfig.
109 |
# File 'sig/types.rbs', line 109
def initialize: (?max_entries: Integer, ?ttl: Integer, ?backend: CacheBackend) -> void
|
Instance Attribute Details
#backend ⇒ CacheBackend (readonly)
Returns the value of attribute backend.
107 108 109 |
# File 'sig/types.rbs', line 107 def backend @backend end |
#max_entries ⇒ Integer (readonly)
Returns the value of attribute max_entries.
105 106 107 |
# File 'sig/types.rbs', line 105 def max_entries @max_entries end |
#ttl ⇒ Integer (readonly)
Returns the value of attribute ttl.
106 107 108 |
# File 'sig/types.rbs', line 106 def ttl @ttl end |