Class: Xberg::LlmCacheConfig

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeLlmCacheConfig

Returns a new instance of LlmCacheConfig.

Parameters:

  • max_entries: (Integer)
  • ttl_seconds: (Integer)
  • backend: (String)
  • backend_config: (Hash[String, String])


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

def initialize: (?max_entries: Integer, ?ttl_seconds: Integer, ?backend: String, ?backend_config: Hash[String, String]) -> void

Instance Attribute Details

#backendString? (readonly)

Returns the value of attribute backend.

Returns:

  • (String, nil)


1488
1489
1490
# File 'sig/types.rbs', line 1488

def backend
  @backend
end

#backend_configHash[String, String]? (readonly)

Returns the value of attribute backend_config.

Returns:

  • (Hash[String, String], nil)


1489
1490
1491
# File 'sig/types.rbs', line 1489

def backend_config
  @backend_config
end

#max_entriesInteger? (readonly)

Returns the value of attribute max_entries.

Returns:

  • (Integer, nil)


1486
1487
1488
# File 'sig/types.rbs', line 1486

def max_entries
  @max_entries
end

#ttl_secondsInteger? (readonly)

Returns the value of attribute ttl_seconds.

Returns:

  • (Integer, nil)


1487
1488
1489
# File 'sig/types.rbs', line 1487

def ttl_seconds
  @ttl_seconds
end