public class PlatformDotNetPortableConfiguration extends Object implements PortableMarshalAware
| Constructor and Description |
|---|
PlatformDotNetPortableConfiguration()
Default constructor.
|
PlatformDotNetPortableConfiguration(PlatformDotNetPortableConfiguration cfg)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultIdMapper() |
String |
getDefaultNameMapper() |
String |
getDefaultSerializer() |
Collection<String> |
getTypes() |
Collection<PlatformDotNetPortableTypeConfiguration> |
getTypesConfiguration() |
boolean |
isDefaultKeepDeserialized()
Gets default keep deserialized flag.
|
boolean |
isDefaultMetadataEnabled()
Gets default metadata enabled flag.
|
void |
readPortable(PortableReader reader)
Reads fields from provided reader.
|
void |
setDefaultIdMapper(String dfltIdMapper) |
void |
setDefaultKeepDeserialized(boolean keepDeserialized)
Sets default keep deserialized flag.
|
void |
setDefaultMetadataEnabled(boolean dfltMetadataEnabled)
Sets default metadata enabled flag.
|
void |
setDefaultNameMapper(String dfltNameMapper) |
void |
setDefaultSerializer(String dfltSerializer) |
void |
setTypes(Collection<String> types) |
void |
setTypesConfiguration(Collection<PlatformDotNetPortableTypeConfiguration> typesCfg) |
String |
toString() |
void |
writePortable(PortableWriter writer)
Writes fields to provided writer.
|
public PlatformDotNetPortableConfiguration()
public PlatformDotNetPortableConfiguration(PlatformDotNetPortableConfiguration cfg)
cfg - configuration to copy.public Collection<PlatformDotNetPortableTypeConfiguration> getTypesConfiguration()
public void setTypesConfiguration(Collection<PlatformDotNetPortableTypeConfiguration> 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.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
PlatformDotNetPortableTypeConfiguration.setMetadataEnabled(Boolean).dfltMetadataEnabled - Default metadata enabled flag.public boolean isDefaultKeepDeserialized()
setDefaultKeepDeserialized(boolean) for more information.public void setDefaultKeepDeserialized(boolean keepDeserialized)
PlatformDotNetPortableTypeConfiguration.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.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.4.0 Release Date : September 24 2015