public class CacheConfigurationEnricher extends Object
CacheConfiguration that are marked with SerializeSeparately.| Constructor and Description |
|---|
CacheConfigurationEnricher(GridKernalContext ctx,
Marshaller marshaller,
ClassLoader clsLdr)
Creates a new instance of enricher.
|
| Modifier and Type | Method and Description |
|---|---|
CacheConfiguration<?,?> |
enrich(CacheConfiguration<?,?> ccfg,
@Nullable CacheConfigurationEnrichment enrichment,
boolean affinityNode)
Enriches cache configuration fields with deserialized values from given
enrichment. |
CacheGroupDescriptor |
enrich(CacheGroupDescriptor desc,
boolean affinityNode)
Enriches descriptor cache configuration with stored enrichment.
|
DynamicCacheDescriptor |
enrich(DynamicCacheDescriptor desc,
boolean affinityNode)
Enriches descriptor cache configuration with stored enrichment.
|
CacheConfiguration<?,?> |
enrichFully(CacheConfiguration<?,?> ccfg,
CacheConfigurationEnrichment enrichment) |
public CacheConfigurationEnricher(GridKernalContext ctx, Marshaller marshaller, ClassLoader clsLdr)
ctx - Kernal context.marshaller - Marshaller to be used for deserializing parts on CacheConfiguration.clsLdr - Class loader to be used for deserializing parts on CacheConfiguration.public DynamicCacheDescriptor enrich(DynamicCacheDescriptor desc, boolean affinityNode)
desc - Cache desriptor.affinityNode - true if enrichment is happened on affinity node.public CacheGroupDescriptor enrich(CacheGroupDescriptor desc, boolean affinityNode)
desc - Cache group descriptor to be enriched.affinityNode - true if enrichment is happened on affinity node.public CacheConfiguration<?,?> enrich(CacheConfiguration<?,?> ccfg, @Nullable @Nullable CacheConfigurationEnrichment enrichment, boolean affinityNode)
enrichment.ccfg - Cache configuration to enrich.enrichment - Cache configuration enrichment.affinityNode - true if enrichment is happened on affinity node.public CacheConfiguration<?,?> enrichFully(CacheConfiguration<?,?> ccfg, CacheConfigurationEnrichment enrichment)
ccfg - Cache configuration to enrich.enrichment - Cache configuration enrichment.Does the same thing but without skipping any fields.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023