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