Click or drag to resize

IgnitionCacheAccess Constructor

Constructor for accessing a specific cache region with an optional defaultAbsoluteExpirationDuration

Namespace: Ignition.Utility
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.28229
Syntax
public IgnitionCacheAccess(
	string region,
	TimeSpan? defaultAbsoluteExpirationDuration = null
)

Parameters

region  String
The region of cache to store/load data.
defaultAbsoluteExpirationDuration  NullableTimeSpan  (Optional)
The default absolute expiration time to apply to all new cache entries.
Remarks
All instances of IgnitionCacheAccess that reference the same region share the same cache. If neither a defaultAbsoluteExpirationDuration is provider here, nor on the call to Set(String, Object, NullableTimeSpan), then the global default of 1 hour will be used.
See Also