◆ AspectEngineBase()
| FiftyOne.Pipeline.Engines.FlowElements.AspectEngineBase< T, TMeta >.AspectEngineBase | ( | ILogger< AspectEngineBase< T, TMeta >> | logger, |
| Func< IPipeline, FlowElementBase< T, TMeta >, T > | aspectDataFactory | ||
| ) |
Constructor
- Parameters
-
- logger - The logger to use
- aspectDataFactory - The factory function to use when the engine creates an AspectDataBase instance.
Member Function Documentation
◆ ManagedResourcesCleanup()
override void FiftyOne.Pipeline.Engines.FlowElements.AspectEngineBase< T, TMeta >.ManagedResourcesCleanup ( ) protected virtualCalled by the base class when this instance is disposed.
Implements FiftyOne.Pipeline.Core.FlowElements.FlowElementBase< T, TMeta >.
Reimplemented in FiftyOne.Pipeline.Engines.FlowElements.OnPremiseAspectEngineBase< T, TMeta >.
◆ ProcessEngine()
abstract void FiftyOne.Pipeline.Engines.FlowElements.AspectEngineBase< T, TMeta >.ProcessEngine ( IFlowData data, T aspectData ) protected pure virtualExtending classes must implement this method.
It should perform the required processing and update the specified aspect data instance.
- Parameters
-
- data - The IFlowData instance that provides the evidence.
- aspectData - The IAspectData instance to populate with the results of processing.
◆ ProcessInternal()
sealed override void FiftyOne.Pipeline.Engines.FlowElements.AspectEngineBase< T, TMeta >.ProcessInternal ( IFlowData data ) protected virtualImplementation of method from the base class FlowElementBase<T, TMeta>.
This exists to centralize the results caching logic.
- Parameters
-
- data - The IFlowData instance that provides the evidence and holds the result.
- Exceptions
-
- ArgumentNullException - Thrown if the parameter is null
Implements FiftyOne.Pipeline.Core.FlowElements.FlowElementBase< T, TMeta >.
◆ SetCache()
virtual void FiftyOne.Pipeline.Engines.FlowElements.AspectEngineBase< T, TMeta >.SetCache ( IFlowCache cache ) virtualSet the results cache.
This is used to store the results of queries against the evidence that was provided. If the same evidence is provided again then the cached response is returned without needing to call the engine itself.
- Parameters
-
- cache - The cache.
- Exceptions
-
- ArgumentNullException - Thrown if the parameter is null
◆ SetCacheHitOrMiss()
virtual void FiftyOne.Pipeline.Engines.FlowElements.AspectEngineBase< T, TMeta >.SetCacheHitOrMiss ( bool cacheHitOrMiss ) virtualSet the engine to flag when a cache hit occurs by setting a field on the cached aspect data.
- Parameters
-
- cacheHitOrMiss - Whether to flag cache hits or not.
◆ SetLazyLoading()
virtual void FiftyOne.Pipeline.Engines.FlowElements.AspectEngineBase< T, TMeta >.SetLazyLoading ( LazyLoadingConfiguration configuration ) virtualConfigure lazy loading of results.
- Parameters
-
- configuration - The configuration to use.
- Returns
- This engine builder instance.
Property Documentation
◆ DataSourceTier
abstract string FiftyOne.Pipeline.Engines.FlowElements.AspectEngineBase< T, TMeta >.DataSourceTier getThe tier to which the current data source belongs.
For 51Degrees this will usually be one of: Lite Premium Enterprise
◆ HasLoadedProperties
virtual bool FiftyOne.Pipeline.Engines.FlowElements.AspectEngineBase< T, TMeta >.HasLoadedProperties getProvide an implementation for the non-generic, aspect-specific version of the meta-data property.
◆ LazyLoadingConfiguration
getThe lazy loading configuration to use.
