@Deprecated public class PortableTypeConfiguration extends Object
PortableMarshaller.setClassNames(Collection).
However, this class allows you to change configuration properties for a specific
portable type without affecting configuration for other portable types.
Per-type portable configuration can be specified in
PortableMarshaller.getTypeConfigurations() method.
| Constructor and Description |
|---|
PortableTypeConfiguration()
Deprecated.
|
PortableTypeConfiguration(String clsName)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAffinityKeyFieldName()
Deprecated.
Gets affinity key field name.
|
String |
getClassName()
Deprecated.
Gets type name.
|
PortableIdMapper |
getIdMapper()
Deprecated.
Gets ID mapper.
|
PortableSerializer |
getSerializer()
Deprecated.
Gets serializer.
|
Boolean |
isKeepDeserialized()
Deprecated.
Defines whether
PortableObject should cache deserialized instance. |
Boolean |
isMetaDataEnabled()
Deprecated.
Defines whether meta data is collected for this type.
|
Boolean |
isUseTimestamp()
Deprecated.
If
true then date values converted to Timestamp during unmarshalling. |
void |
setAffinityKeyFieldName(String affKeyFieldName)
Deprecated.
Sets affinity key field name.
|
void |
setClassName(String clsName)
Deprecated.
Sets type name.
|
void |
setIdMapper(PortableIdMapper idMapper)
Deprecated.
Sets ID mapper.
|
void |
setKeepDeserialized(Boolean keepDeserialized)
Deprecated.
|
void |
setMetaDataEnabled(Boolean metaDataEnabled)
Deprecated.
|
void |
setSerializer(PortableSerializer serializer)
Deprecated.
Sets serializer.
|
void |
setUseTimestamp(Boolean useTs)
Deprecated.
|
String |
toString()
Deprecated.
|
public PortableTypeConfiguration()
public PortableTypeConfiguration(String clsName)
clsName - Class name.public String getClassName()
public void setClassName(String clsName)
clsName - Type name.public PortableIdMapper getIdMapper()
public void setIdMapper(PortableIdMapper idMapper)
idMapper - ID mapper.public PortableSerializer getSerializer()
public void setSerializer(PortableSerializer serializer)
serializer - Serializer.public Boolean isUseTimestamp()
true then date values converted to Timestamp during unmarshalling.Timestamp during unmarshalling.public void setUseTimestamp(Boolean useTs)
useTs - Flag indicating whether date values converted to Timestamp during unmarshalling.public Boolean isMetaDataEnabled()
PortableMarshaller.isMetaDataEnabled() property.public void setMetaDataEnabled(Boolean metaDataEnabled)
metaDataEnabled - Whether meta data is collected.public Boolean isKeepDeserialized()
PortableObject should cache deserialized instance. If provided,
this value will override PortableMarshaller.isKeepDeserialized()
property.public void setKeepDeserialized(Boolean keepDeserialized)
keepDeserialized - Whether deserialized value is kept.public String getAffinityKeyFieldName()
public void setAffinityKeyFieldName(String affKeyFieldName)
affKeyFieldName - Affinity key field name.
GridGain Fabric : ver. 7.8.12 Release Date : October 2 2017