Apache Ignite.NET
Apache.Ignite.Core.Binary.BinaryConfiguration Class Reference

Binary type configuration. More...

Public Member Functions

 BinaryConfiguration ()
 Initializes a new instance of the BinaryConfiguration class. More...
 
 BinaryConfiguration (BinaryConfiguration cfg)
 Initializes a new instance of the BinaryConfiguration class. More...
 
 BinaryConfiguration (params Type[] binaryTypes)
 Initializes a new instance of the BinaryConfiguration class. More...
 

Public Attributes

const bool DefaultCompactFooter = true
 Default CompactFooter setting. More...
 
const bool DefaultDefaultKeepDeserialized = true
 Default DefaultKeepDeserialized setting. More...
 

Properties

ICollection< BinaryTypeConfigurationTypeConfigurations [get, set]
 Type configurations. More...
 
ICollection< string > Types [get, set]
 Binarizable types. Shorthand for creating BinaryTypeConfiguration. More...
 
IBinaryNameMapper DefaultNameMapper [get, set]
 Default name mapper. More...
 
IBinaryIdMapper DefaultIdMapper [get, set]
 Default ID mapper. More...
 
IBinarySerializer DefaultSerializer [get, set]
 Default serializer. More...
 
bool DefaultKeepDeserialized [get, set]
 Default keep deserialized flag. More...
 
bool CompactFooter [get, set]
 Gets or sets a value indicating whether to write footers in compact form. When enabled, Ignite will not write fields metadata when serializing objects, because internally metadata is distributed inside cluster. This increases serialization performance. WARNING! This mode should be disabled when already serialized data can be taken from some external sources (e.g.cache store which stores data in binary form, data center replication, etc.). Otherwise binary objects without any associated metadata could could not be deserialized. More...
 

Detailed Description

Constructor & Destructor Documentation

Apache.Ignite.Core.Binary.BinaryConfiguration.BinaryConfiguration ( )
Apache.Ignite.Core.Binary.BinaryConfiguration.BinaryConfiguration ( BinaryConfiguration  cfg)
Parameters
cfgThe binary configuration to copy.
Apache.Ignite.Core.Binary.BinaryConfiguration.BinaryConfiguration ( params Type[]  binaryTypes)
Parameters
binaryTypesBinary types to register.

Member Data Documentation

const bool Apache.Ignite.Core.Binary.BinaryConfiguration.DefaultCompactFooter = true
const bool Apache.Ignite.Core.Binary.BinaryConfiguration.DefaultDefaultKeepDeserialized = true

Property Documentation

bool Apache.Ignite.Core.Binary.BinaryConfiguration.CompactFooter
getset
IBinaryIdMapper Apache.Ignite.Core.Binary.BinaryConfiguration.DefaultIdMapper
getset
bool Apache.Ignite.Core.Binary.BinaryConfiguration.DefaultKeepDeserialized
getset
IBinaryNameMapper Apache.Ignite.Core.Binary.BinaryConfiguration.DefaultNameMapper
getset
IBinarySerializer Apache.Ignite.Core.Binary.BinaryConfiguration.DefaultSerializer
getset
ICollection<BinaryTypeConfiguration> Apache.Ignite.Core.Binary.BinaryConfiguration.TypeConfigurations
getset
ICollection<string> Apache.Ignite.Core.Binary.BinaryConfiguration.Types
getset