public class InteropDotNetPortableConfiguration extends Object implements PortableMarshalAware
| Constructor and Description |
|---|
InteropDotNetPortableConfiguration()
Default constructor.
|
InteropDotNetPortableConfiguration(InteropDotNetPortableConfiguration cfg)
Copy constructor.
|
public InteropDotNetPortableConfiguration()
public InteropDotNetPortableConfiguration(InteropDotNetPortableConfiguration cfg)
cfg - configuration to copy.public Collection<InteropDotNetPortableTypeConfiguration> getTypesConfiguration()
public void setTypesConfiguration(Collection<InteropDotNetPortableTypeConfiguration> typesCfg)
typesCfg - New type cfgs.public Collection<String> getTypes()
public void setTypes(Collection<String> types)
types - New types.public String getDefaultNameMapper()
public void setDefaultNameMapper(String dfltNameMapper)
dfltNameMapper - New default name mapper.public String getDefaultIdMapper()
public void setDefaultIdMapper(String dfltIdMapper)
dfltIdMapper - New default id mapper.public String getDefaultSerializer()
public void setDefaultSerializer(String dfltSerializer)
dfltSerializer - New default serializer.@Deprecated public boolean getDefaultMetadataEnabled()
isDefaultMetadataEnabled() instead.public boolean isDefaultMetadataEnabled()
setDefaultMetadataEnabled(boolean) for more information.public void setDefaultMetadataEnabled(boolean dfltMetadataEnabled)
true all portable types will save it's metadata to
cluster.
Can be overridden for particular type using
InteropDotNetPortableTypeConfiguration.setMetadataEnabled(Boolean).dfltMetadataEnabled - Default metadata enabled flag.@Deprecated public boolean getDefaultKeepDeserialized()
isDefaultKeepDeserialized() instead.public boolean isDefaultKeepDeserialized()
setDefaultKeepDeserialized(boolean) for more information.public void setDefaultKeepDeserialized(boolean keepDeserialized)
InteropDotNetPortableTypeConfiguration.setKeepDeserialized(Boolean).keepDeserialized - Keep deserialized flag.public void writePortable(PortableWriter writer) throws PortableException
writePortable in interface PortableMarshalAwarewriter - Portable object writer.PortableException - In case of error.public void readPortable(PortableReader reader) throws PortableException
readPortable in interface PortableMarshalAwarereader - Portable object reader.PortableException - In case of error.
GridGain Fabric : ver. 7.8.12 Release Date : October 2 2017