Interface CacheConfigurationSplitter
-
- All Known Implementing Classes:
CacheConfigurationSplitterImpl
public interface CacheConfigurationSplitterSplits cache configuration into two parts that can be serialized, deserialized separately. This eliminates the need to deserialize part of the configuration and therefore, it does not require user classes on non-affinity nodes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description T2<CacheConfiguration,CacheConfigurationEnrichment>split(CacheConfiguration ccfg)Splits the given cache configuration into two partsCacheConfigurationandCacheConfigurationEnrichmentthat are serialized separately.default T2<CacheConfiguration,CacheConfigurationEnrichment>split(CacheGroupDescriptor desc)Splits cache configuration associated with the givendescinto two partsCacheConfigurationandCacheConfigurationEnrichmentthat are serialized separately.default T2<CacheConfiguration,CacheConfigurationEnrichment>split(DynamicCacheDescriptor desc)Splits cache configuration associated with the givendescinto two partsCacheConfigurationandCacheConfigurationEnrichmentthat are serialized separately.
-
-
-
Method Detail
-
split
default T2<CacheConfiguration,CacheConfigurationEnrichment> split(CacheGroupDescriptor desc)
Splits cache configuration associated with the givendescinto two partsCacheConfigurationandCacheConfigurationEnrichmentthat are serialized separately. The fields marked withSerializeSeparatelyare placed intoCacheConfigurationEnrichment, the corresponding values intoCacheConfigurationare changed with the default ones.- Parameters:
desc- Cache group description to split.- Returns:
- Split cache configuration.
- See Also:
SerializeSeparately
-
split
default T2<CacheConfiguration,CacheConfigurationEnrichment> split(DynamicCacheDescriptor desc)
Splits cache configuration associated with the givendescinto two partsCacheConfigurationandCacheConfigurationEnrichmentthat are serialized separately. The fields marked withSerializeSeparatelyare placed intoCacheConfigurationEnrichment, the corresponding values intoCacheConfigurationare changed with the default ones.- Parameters:
desc- Cache description to split.- Returns:
- Split cache configuration.
- See Also:
SerializeSeparately
-
split
T2<CacheConfiguration,CacheConfigurationEnrichment> split(CacheConfiguration ccfg)
Splits the given cache configuration into two partsCacheConfigurationandCacheConfigurationEnrichmentthat are serialized separately. The fields marked withSerializeSeparatelyare placed intoCacheConfigurationEnrichment, the corresponding values intoCacheConfigurationare changed with the default ones.- Parameters:
ccfg- Cache configuration to split.- Returns:
- Split cache configuration.
- See Also:
SerializeSeparately
-
-