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 DefaultKeepDeserialized = true
 Default KeepDeserialized setting. More...
 

Properties

ICollection< BinaryTypeConfigurationTypeConfigurations [get, set]
 Type configurations. More...
 
ICollection< string > Types [get, set]
 Gets or sets a collection of assembly-qualified type names (the result of Type.AssemblyQualifiedName) for binarizable types. More...
 
IBinaryNameMapper NameMapper [get, set]
 Default name mapper. More...
 
IBinaryIdMapper IdMapper [get, set]
 Default ID mapper. More...
 
IBinarySerializer Serializer [get, set]
 Default serializer. More...
 
bool KeepDeserialized [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.DefaultKeepDeserialized = true

Property Documentation

bool Apache.Ignite.Core.Binary.BinaryConfiguration.CompactFooter
getset
IBinaryIdMapper Apache.Ignite.Core.Binary.BinaryConfiguration.IdMapper
getset
bool Apache.Ignite.Core.Binary.BinaryConfiguration.KeepDeserialized
getset
IBinaryNameMapper Apache.Ignite.Core.Binary.BinaryConfiguration.NameMapper
getset
IBinarySerializer Apache.Ignite.Core.Binary.BinaryConfiguration.Serializer
getset
ICollection<BinaryTypeConfiguration> Apache.Ignite.Core.Binary.BinaryConfiguration.TypeConfigurations
getset
ICollection<string> Apache.Ignite.Core.Binary.BinaryConfiguration.Types
getset

Shorthand for creating BinaryTypeConfiguration.