Click or drag to resize

NearCacheConfigSetInMemoryFormat Method (InMemoryFormat)

Sets the data type used to store entries.
Possible values:
  • BINARY: keys and values are stored as binary data
  • OBJECT: values are stored in their object forms
  • NATIVE: keys and values are stored in native memory
The default value is BINARY.

Namespace:  Hazelcast.Config
Assembly:  Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.2
Syntax
public virtual NearCacheConfig SetInMemoryFormat(
	InMemoryFormat inMemoryFormat
)

Parameters

inMemoryFormat
Type: Hazelcast.ConfigInMemoryFormat
the data type used to store entries

Return Value

Type: NearCacheConfig
this Near Cache config instance
See Also