Class: LiterLlm::CacheConfig

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCacheConfig

Returns a new instance of CacheConfig.

Parameters:

  • max_entries: (Integer)
  • ttl: (Integer)
  • backend: (CacheBackend)


109
# File 'sig/types.rbs', line 109

def initialize: (?max_entries: Integer, ?ttl: Integer, ?backend: CacheBackend) -> void

Instance Attribute Details

#backendCacheBackend (readonly)

Returns the value of attribute backend.

Returns:



107
108
109
# File 'sig/types.rbs', line 107

def backend
  @backend
end

#max_entriesInteger (readonly)

Returns the value of attribute max_entries.

Returns:

  • (Integer)


105
106
107
# File 'sig/types.rbs', line 105

def max_entries
  @max_entries
end

#ttlInteger (readonly)

Returns the value of attribute ttl.

Returns:

  • (Integer)


106
107
108
# File 'sig/types.rbs', line 106

def ttl
  @ttl
end