public class CacheConfigurationEnrichment extends Object implements Serializable
SerializeSeparately
in CacheConfiguration.
This object is needed to exchange and store shrinked cache configurations to avoid possible ClassNotFoundException errors
during deserialization on nodes where some specific class may not exist.| Constructor and Description |
|---|
CacheConfigurationEnrichment(Map<String,byte[]> enrichFields,
Map<String,String> fieldClassNames)
Creates a new instance of CacheConfigurationEnrichment.
|
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
fields()
Returns all field names that can be potentially enriched.
|
String |
getFieldClassName(String fieldName) |
byte[] |
getFieldSerializedValue(String fieldName) |
boolean |
hasField(String name)
Returns
true if this enrichment contains serialized valued for the specified field. |
String |
toString() |
public byte[] getFieldSerializedValue(String fieldName)
fieldName - Field name.public Set<String> fields()
public String getFieldClassName(String fieldName)
fieldName - Field name.public boolean hasField(String name)
true if this enrichment contains serialized valued for the specified field.name - Field name.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021