| 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.12.2
Syntax public virtual NearCacheConfig SetInMemoryFormat(
InMemoryFormat inMemoryFormat
)
Public Overridable Function SetInMemoryFormat (
inMemoryFormat As InMemoryFormat
) As NearCacheConfig
public:
virtual NearCacheConfig^ SetInMemoryFormat(
InMemoryFormat inMemoryFormat
)
abstract SetInMemoryFormat :
inMemoryFormat : InMemoryFormat -> NearCacheConfig
override SetInMemoryFormat :
inMemoryFormat : InMemoryFormat -> NearCacheConfig
Parameters
- inMemoryFormat
- Type: Hazelcast.ConfigInMemoryFormat
the data type used to store entries
Return Value
Type:
NearCacheConfigthis Near Cache config instance
See Also