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)


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

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

Instance Attribute Details

#backendCacheBackend (readonly)

Returns the value of attribute backend.

Returns:



880
881
882
# File 'sig/types.rbs', line 880

def backend
  @backend
end

#max_entriesInteger (readonly)

Returns the value of attribute max_entries.

Returns:

  • (Integer)


878
879
880
# File 'sig/types.rbs', line 878

def max_entries
  @max_entries
end

#ttlInteger (readonly)

Returns the value of attribute ttl.

Returns:

  • (Integer)


879
880
881
# File 'sig/types.rbs', line 879

def ttl
  @ttl
end