@Deprecated public class PortableConfiguration extends Object
PortableTypeConfiguration. Type configurations are provided via
getTypeConfigurations() method.| Modifier and Type | Field and Description |
|---|---|
static PortableProtocolVersion |
DFLT_PORTABLE_PROTO_VER
Deprecated.
Default portable protocol version.
|
| Constructor and Description |
|---|
PortableConfiguration()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getClassNames()
Deprecated.
Gets class names.
|
PortableIdMapper |
getIdMapper()
Deprecated.
Gets ID mapper.
|
PortableProtocolVersion |
getProtocolVersion()
Deprecated.
Gets portable protocol version.
|
PortableSerializer |
getSerializer()
Deprecated.
Gets serializer.
|
Collection<PortableTypeConfiguration> |
getTypeConfigurations()
Deprecated.
Gets types configuration.
|
boolean |
isKeepDeserialized()
Deprecated.
If
true, PortableObject will cache deserialized instance after
PortableObject.deserialize() is called. |
boolean |
isMetaDataEnabled()
Deprecated.
If
true, meta data will be collected or all types. |
boolean |
isUseTimestamp()
Deprecated.
If
true then date values converted to Timestamp on deserialization. |
void |
setClassNames(Collection<String> clsNames)
Deprecated.
Sets class names.
|
void |
setIdMapper(PortableIdMapper idMapper)
Deprecated.
Sets ID mapper.
|
void |
setKeepDeserialized(boolean keepDeserialized)
Deprecated.
|
void |
setMetaDataEnabled(boolean metaDataEnabled)
Deprecated.
|
void |
setProtocolVersion(PortableProtocolVersion protoVer)
Deprecated.
Sets portable protocol version.
|
void |
setSerializer(PortableSerializer serializer)
Deprecated.
Sets serializer.
|
void |
setTypeConfigurations(Collection<PortableTypeConfiguration> typeCfgs)
Deprecated.
Sets type configurations.
|
void |
setUseTimestamp(boolean useTs)
Deprecated.
|
String |
toString()
Deprecated.
|
public static final PortableProtocolVersion DFLT_PORTABLE_PROTO_VER
public Collection<String> getClassNames()
public void setClassNames(Collection<String> clsNames)
clsNames - Class names.public PortableIdMapper getIdMapper()
public void setIdMapper(PortableIdMapper idMapper)
idMapper - ID mapper.public PortableSerializer getSerializer()
public void setSerializer(PortableSerializer serializer)
serializer - Serializer.public Collection<PortableTypeConfiguration> getTypeConfigurations()
public void setTypeConfigurations(Collection<PortableTypeConfiguration> typeCfgs)
typeCfgs - Type configurations.public boolean isUseTimestamp()
Timestamp during unmarshalling.public void setUseTimestamp(boolean useTs)
useTs - Flag indicating whether date values converted to Timestamp during unmarshalling.public boolean isMetaDataEnabled()
true, meta data will be collected or all types. If you need to override this behaviour for
some specific type, use PortableTypeConfiguration.setMetaDataEnabled(Boolean) method.
Default value if true.
public void setMetaDataEnabled(boolean metaDataEnabled)
metaDataEnabled - Whether meta data is collected.public boolean isKeepDeserialized()
true, PortableObject will cache deserialized instance after
PortableObject.deserialize() is called. All consequent calls of this
method on the same instance of PortableObject will return that cached
value without actually deserializing portable object. If you need to override this
behaviour for some specific type, use PortableTypeConfiguration.setKeepDeserialized(Boolean)
method.
Default value if true.
public void setKeepDeserialized(boolean keepDeserialized)
keepDeserialized - Whether deserialized value is kept.public PortableProtocolVersion getProtocolVersion()
DFLT_PORTABLE_PROTO_VER.public void setProtocolVersion(PortableProtocolVersion protoVer)
DFLT_PORTABLE_PROTO_VER.protoVer - Portable protocol version.
GridGain Fabric : ver. 7.8.12 Release Date : October 2 2017