Class EvalCacheOptions
Inheritance
System.Object
EvalCacheOptions
Assembly: AzureFromTheTrenches.Commanding.Cache.dll
Syntax
public class EvalCacheOptions : CacheOptions
Constructors
|
Improve this Doc
View Source
EvalCacheOptions(Func<Object, Boolean>, DateTime, Nullable<Int32>)
Declaration
public EvalCacheOptions(Func<object, bool> evaluator, DateTime expiresAtUtc, int? maxConcurrentExecutions = null)
Parameters
Type |
Name |
Description |
Func<System.Object, System.Boolean> |
evaluator |
|
DateTime |
expiresAtUtc |
|
System.Nullable<System.Int32> |
maxConcurrentExecutions |
|
|
Improve this Doc
View Source
EvalCacheOptions(Func<Object, Boolean>, Func<DateTime>, Nullable<Int32>)
Declaration
public EvalCacheOptions(Func<object, bool> evaluator, Func<DateTime> expiresAtUtcFunc, int? maxConcurrentExecutions = null)
Parameters
Type |
Name |
Description |
Func<System.Object, System.Boolean> |
evaluator |
|
Func<DateTime> |
expiresAtUtcFunc |
|
System.Nullable<System.Int32> |
maxConcurrentExecutions |
|
|
Improve this Doc
View Source
EvalCacheOptions(Func<Object, Boolean>, Func<TimeSpan>, Nullable<Int32>)
Declaration
public EvalCacheOptions(Func<object, bool> evaluator, Func<TimeSpan> lifeTimeFunc, int? maxConcurrentExecutions = null)
Parameters
Type |
Name |
Description |
Func<System.Object, System.Boolean> |
evaluator |
|
Func<TimeSpan> |
lifeTimeFunc |
|
System.Nullable<System.Int32> |
maxConcurrentExecutions |
|
|
Improve this Doc
View Source
EvalCacheOptions(Func<Object, Boolean>, TimeSpan, Nullable<Int32>)
Declaration
public EvalCacheOptions(Func<object, bool> evaluator, TimeSpan lifeTime, int? maxConcurrentExecutions = null)
Parameters
Type |
Name |
Description |
Func<System.Object, System.Boolean> |
evaluator |
|
TimeSpan |
lifeTime |
|
System.Nullable<System.Int32> |
maxConcurrentExecutions |
|
Properties
|
Improve this Doc
View Source
IsCachedCommand
Declaration
public Func<object, bool> IsCachedCommand { get; }
Property Value
Type |
Description |
Func<System.Object, System.Boolean> |
|