Interface ICacheManager<TInput, TCache>

Namespace: ETLBox.DataFlow
Assembly: ETLBox.dll
Syntax
    public interface ICacheManager<TInput, TCache>
Type Parameters
NameDescription
TInput
TCache

Properties

Dict

Declaration
    IDictionary<object, TCache> Dict { get; }
Property Value
TypeDescription
System.Collections.Generic.IDictionary<System.Object, TCache>

GetCacheUniqueKeyFunc

Declaration
    Func<TCache, object> GetCacheUniqueKeyFunc { get; set; }
Property Value
TypeDescription
System.Func<TCache, System.Object>

GetInputUniqueKeyFunc

Declaration
    Func<TInput, object> GetInputUniqueKeyFunc { get; set; }
Property Value
TypeDescription
System.Func<TInput, System.Object>

Records

Declaration
    ICollection<TCache> Records { get; }
Property Value
TypeDescription
System.Collections.Generic.ICollection<TCache>

Methods

Add(TInput)

Declaration
    void Add(TInput row)
Parameters
TypeNameDescription
TInputrow

Add(TInput[])

Declaration
    void Add(TInput[] batch)
Parameters
TypeNameDescription
TInput[]batch

Contains(TInput)

Declaration
    bool Contains(TInput row)
Parameters
TypeNameDescription
TInputrow
Returns
TypeDescription
System.Boolean

Contains(TInput[])

Declaration
    bool Contains(TInput[] batch)
Parameters
TypeNameDescription
TInput[]batch
Returns
TypeDescription
System.Boolean

Init()

Declaration
    void Init()