Class CacheEndpointOptions
Options of a cache: endpoint:
cache:<region>?action=get|put|remove|clear&key=${header.id}&ttl=5m&sliding=1m&provider=memory|distributed&headers=X-Rate,Content-Language.
public sealed class CacheEndpointOptions : EndpointOptions
Inheritance
Inherited Members
EndpointOptions.BindableOptions(Type),EndpointOptions.BindFromUri(IReadOnlyDictionary<string, string>),EndpointOptions.IsLenient(Type),EndpointOptions.OptionValueHint(string),EndpointOptions.ResolveOption(string?, IExchange),EndpointOptions.RoleOf(PropertyInfo),EndpointOptions.UnknownParameterHint(string),EndpointOptions.UnmappedParameters,EndpointOptions.Validate(),EndpointOptions.WrittenBesideConnectionFactory(Type, EndpointUri),EndpointOptions.WrittenForOtherRole(Type, EndpointUri, EndpointRole)
Properties
Headers
put only: the headers stored with the body, by name, comma-separated. A put sees the
public string? Headers { get; set; }
Key
Entry key; ${...} resolved per message. Required except for clear.
public DynamicValue<string>? Key { get; set; }
ParsedHeaders
The header names of ; null when none were given.
public IReadOnlyCollection<string>? ParsedHeaders { get; }
Methods
UnknownParameterHint(string)
A connector's own words for a parameter name it does not know — typically a name it used to
protected override string? UnknownParameterHint(string name)
Validate()
Validates required parameters and constraints. Called after BindFromUri.
public override void Validate()