ICacheManager<TInput, TCache>

Interface ICacheManager<TInput, TCache>

Namespace: ETLBox
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
IDictionary<object, TCache>

GetCacheUniqueKeyFunc

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

GetInputUniqueKeyFunc

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

Records

Declaration
    IEnumerable<TCache> Records { get; }
Property Value
TypeDescription
IEnumerable<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
bool

Contains(TInput[])

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

Init()

Declaration
    void Init()