Class KEFCoreClusterCache
- Namespace
- MASES.EntityFrameworkCore.KNet.Storage.Internal
- Assembly
- MASES.EntityFrameworkCore.KNet.dll
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public class KEFCoreClusterCache : IKEFCoreClusterCache
- Inheritance
-
KEFCoreClusterCache
- Implements
- Inherited Members
- Extension Methods
Remarks
Default initializer
Constructors
KEFCoreClusterCache(IKEFCoreTableFactory, IDiagnosticsLogger<Infrastructure>, IValueGeneratorSelector, IComplexTypeConverterFactory)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public KEFCoreClusterCache(IKEFCoreTableFactory tableFactory, IDiagnosticsLogger<DbLoggerCategory.Infrastructure> infrastructureLogger, IValueGeneratorSelector valueGeneratorSelector, IComplexTypeConverterFactory complexTypeConverterFactory)
Parameters
tableFactoryIKEFCoreTableFactoryinfrastructureLoggerIDiagnosticsLogger<DbLoggerCategory.Infrastructure>valueGeneratorSelectorIValueGeneratorSelectorcomplexTypeConverterFactoryIComplexTypeConverterFactory
Remarks
Default initializer
Methods
CreateCluster(KEFCoreOptionsExtension)
Create new or get a previously allocated IKEFCoreCluster instance associated to the options
public virtual IKEFCoreCluster CreateCluster(KEFCoreOptionsExtension options)
Parameters
optionsKEFCoreOptionsExtension
Returns
Dispose(IKEFCoreCluster)
Dispose an IKEFCoreCluster referenced from cluster
public virtual void Dispose(IKEFCoreCluster cluster)
Parameters
clusterIKEFCoreCluster
GetCluster(KEFCoreOptionsExtension)
Gets an IKEFCoreCluster instance associated to the options
public virtual IKEFCoreCluster GetCluster(KEFCoreOptionsExtension options)
Parameters
optionsKEFCoreOptionsExtension