Interface ICacheManager<TInput, TCache>
Namespace: ETLBox.DataFlow
Assembly: ETLBox.dll
Syntax
public interface ICacheManager<TInput, TCache>Type Parameters
| Name | Description |
|---|---|
| TInput | |
| TCache |
Properties
CacheKeySelector
Declaration
Func<TCache, object> CacheKeySelector { get; set; }Property Value
| Type | Description |
|---|---|
| Func<TCache, object> |
CachedData
Declaration
CachedData<TCache> CachedData { get; }Property Value
| Type | Description |
|---|---|
| CachedData<TCache> |
InputKeySelector
Declaration
Func<TInput, object> InputKeySelector { get; set; }Property Value
| Type | Description |
|---|---|
| Func<TInput, object> |
MaxCacheSize
Declaration
int MaxCacheSize { get; set; }Property Value
| Type | Description |
|---|---|
| int |
PermitMultipleEntriesPerKey
Declaration
bool PermitMultipleEntriesPerKey { get; set; }Property Value
| Type | Description |
|---|---|
| bool |
Methods
EnsureAdded(TInput)
Declaration
void EnsureAdded(TInput row)Parameters
| Type | Name | Description |
|---|---|---|
| TInput | row |
EnsureAdded(TInput[])
Declaration
void EnsureAdded(TInput[] batch)Parameters
| Type | Name | Description |
|---|---|---|
| TInput[] | batch |
Evict()
Declaration
void Evict()InitialLoad()
Declaration
void InitialLoad()