◆ PrePackagedPipelineBuilderBase()
FiftyOne.Pipeline.Engines.FlowElements.PrePackagedPipelineBuilderBase< TBuilder >.PrePackagedPipelineBuilderBase | ( | ILoggerFactory | loggerFactory | ) |
Constructor
- Parameters
-
- loggerFactory -
\r\n
Base class for pipeline builders that will produce a pipeline with specific flow elements.
TBuilder | : | PrePackagedPipelineBuilderBase<TBuilder> |
PrePackagedPipelineBuilderBase (ILoggerFactory loggerFactory)
Constructor More...
| |
TBuilder | UseLazyLoading ()
Enable lazy loading of results. More...
|
TBuilder | UseLazyLoading (int timeoutMilliseconds)
Enable lazy loading of results. More...
|
TBuilder | UseLazyLoading (TimeSpan timeout)
Enable lazy loading of results. More...
|
TBuilder | UseLazyLoading (CancellationToken cancellationToken)
Enable lazy loading of results. More...
|
TBuilder | UseLazyLoading (TimeSpan timeout, CancellationToken cancellationToken)
Enable lazy loading of results. More...
|
TBuilder | UseResultsCache ()
Enable caching of results. More...
|
TBuilder | UseResultsCache (int size)
Enable caching of results. More...
|
Public Member Functions inherited from FiftyOne.Pipeline.Core.FlowElements.PipelineBuilderBase< TBuilder > | |
PipelineBuilderBase (ILoggerFactory loggerFactory)
Create a new PipelineBuilderBase<T> instance. More...
| |
virtual IPipeline | Build ()
Build the pipeline More...
|
T | AddFlowElement (IFlowElement element)
Add the specified IFlowElement to the pipeline. More...
|
T | AddFlowElementsParallel (params IFlowElement[] elements)
Add the specified IFlowElement array to the pipeline. More...
|
T | SetAutoDisposeElements (bool autoDispose)
Configure the Pipeline to either call dispose on it's child FlowElements when it is disposed or not. More...
|
T | SetSuppressProcessException (bool suppressExceptions)
Configure the Pipeline to either suppress exceptions added to IFlowData.Errors during processing or to throw them as an aggregate exception once processing is complete. More...
|
T | SetSuppressProcessExceptions (bool suppressExceptions)
Configure the Pipeline to either suppress exceptions added to IFlowData.Errors during processing or to throw them as an aggregate exception once processing is complete. More...
|
bool | LazyLoading = false [get, set]
True if lazy loading is enabled for the relevant engine(s). More...
|
bool | ResultsCache = false [get, set]
True if a results cache should be added to the relevant engine(s). More...
|
TimeSpan | LazyLoadingTimeout = TimeSpan.FromSeconds(5) [get, set]
The timeout to be used by the lazy loading feature. More...
|
CancellationToken | LazyLoadingCancellationToken = default(CancellationToken) [get, set]
The cancellation token to be used by the lazy loading feature. More...
|
int | ResultsCacheSize = 1000 [get, set]
The cache size to use for the results cache More...
|
Properties inherited from FiftyOne.Pipeline.Core.FlowElements.PipelineBuilderBase< TBuilder > | |
List< IFlowElement > | FlowElements [get]
The elements to be added to the pipeline More...
|
ILogger< T > | Logger [get]
Logger More...
|
ILoggerFactory | LoggerFactory [get]
A factory used to create logger instances. More...
|
FiftyOne.Pipeline.Engines.FlowElements.PrePackagedPipelineBuilderBase< TBuilder >.PrePackagedPipelineBuilderBase | ( | ILoggerFactory | loggerFactory | ) |
Constructor
TBuilder FiftyOne.Pipeline.Engines.FlowElements.PrePackagedPipelineBuilderBase< TBuilder >.UseLazyLoading | ( | ) |
Enable lazy loading of results.
Uses a default timeout of 5 seconds.
TBuilder FiftyOne.Pipeline.Engines.FlowElements.PrePackagedPipelineBuilderBase< TBuilder >.UseLazyLoading | ( | int | timeoutMilliseconds | ) |
Enable lazy loading of results.
TBuilder FiftyOne.Pipeline.Engines.FlowElements.PrePackagedPipelineBuilderBase< TBuilder >.UseLazyLoading | ( | TimeSpan | timeout | ) |
Enable lazy loading of results.
TBuilder FiftyOne.Pipeline.Engines.FlowElements.PrePackagedPipelineBuilderBase< TBuilder >.UseLazyLoading | ( | CancellationToken | cancellationToken | ) |
Enable lazy loading of results.
Uses a default timeout of 5 seconds.
TBuilder FiftyOne.Pipeline.Engines.FlowElements.PrePackagedPipelineBuilderBase< TBuilder >.UseLazyLoading | ( | TimeSpan | timeout, |
CancellationToken | cancellationToken | ||
) |
Enable lazy loading of results.
TBuilder FiftyOne.Pipeline.Engines.FlowElements.PrePackagedPipelineBuilderBase< TBuilder >.UseResultsCache | ( | ) |
Enable caching of results.
Uses a default cache size of 1000.
TBuilder FiftyOne.Pipeline.Engines.FlowElements.PrePackagedPipelineBuilderBase< TBuilder >.UseResultsCache | ( | int | size | ) |
Enable caching of results.
bool FiftyOne.Pipeline.Engines.FlowElements.PrePackagedPipelineBuilderBase< TBuilder >.LazyLoading = false |
True if lazy loading is enabled for the relevant engine(s).
False if not.
CancellationToken FiftyOne.Pipeline.Engines.FlowElements.PrePackagedPipelineBuilderBase< TBuilder >.LazyLoadingCancellationToken = default(CancellationToken) |
The cancellation token to be used by the lazy loading feature.
TimeSpan FiftyOne.Pipeline.Engines.FlowElements.PrePackagedPipelineBuilderBase< TBuilder >.LazyLoadingTimeout = TimeSpan.FromSeconds(5) |
The timeout to be used by the lazy loading feature.
bool FiftyOne.Pipeline.Engines.FlowElements.PrePackagedPipelineBuilderBase< TBuilder >.ResultsCache = false |
True if a results cache should be added to the relevant engine(s).
False if not.
int FiftyOne.Pipeline.Engines.FlowElements.PrePackagedPipelineBuilderBase< TBuilder >.ResultsCacheSize = 1000 |
The cache size to use for the results cache