Table of Contents

Class CacheStrategy

Namespace: Casewhere.Runtime.DSL.Cache
Assembly: Casewhere.Runtime.dll

public abstract class CacheStrategy : ICacheStrategy

Inheritance

objectCacheStrategy

Derived

CacheCodeScriptByDataAttribute, CacheCodeScriptByDataClass, CacheCodeScriptByPluginMethodScope, CacheCodeScriptByWorkflowDefinition, DataFilterExpressionCacheStrategy, DataFilterScriptCacheStrategy, DatabaseRuleScriptCacheStrategy, ExportExpressionCodeScriptCacheStrategy, GeneralExpressionCacheStrategy, PluginRequestParameterExpressionCacheStrategy, RuleExpressionCacheStrategy

Implements

ICacheStrategy

Inherited Members

object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Extension Methods

ObjectExtension.ConvertToBsonValue(object), EnumExtensions.DeepClone<CacheStrategy>(CacheStrategy)

Constructors

CacheStrategy()

protected CacheStrategy()

Methods

GetKey(string)

protected abstract string GetKey(string key)

Parameters

key string

Returns

string

Set<T>(string, T)

public virtual void Set<T>(string key, T data)

Parameters

key string

data T

Type Parameters

T

TryGet<T>(string, out T)

public virtual bool TryGet<T>(string key, out T data)

Parameters

key string

data T

Returns

bool

Type Parameters

T