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.
882 |
# File 'sig/types.rbs', line 882
def initialize: (?max_entries: Integer, ?ttl: Integer, ?backend: CacheBackend) -> void
|
Instance Attribute Details
#backend ⇒ CacheBackend (readonly)
Returns the value of attribute backend.
880 881 882 |
# File 'sig/types.rbs', line 880 def backend @backend end |
#max_entries ⇒ Integer (readonly)
Returns the value of attribute max_entries.
878 879 880 |
# File 'sig/types.rbs', line 878 def max_entries @max_entries end |
#ttl ⇒ Integer (readonly)
Returns the value of attribute ttl.
879 880 881 |
# File 'sig/types.rbs', line 879 def ttl @ttl end |