VMware Tanzu GemFire Native .NET Reference 10.3.0
Apache::Geode::Client::ISerializable Interface Reference

This interface class is the superclass of all user objects in the cache that can be serialized. More...

#include <ISerializable.hpp>

Inherited by Apache::Geode::Client::CacheableObjectXml, Apache::Geode::Client::ICacheableKey, Apache::Geode::Client::IDataSerializable, Apache::Geode::Client::IDataSerializableFixedId, Apache::Geode::Client::IDataSerializableInternal, Apache::Geode::Client::IDataSerializablePrimitive, Apache::Geode::Client::Serializable, and Apache::Geode::Client::UserFunctionExecutionException.

Public Member Functions

String ^ ToString ()
 Return a string representation of the object. More...
 

Properties

System::UInt64 ObjectSize [get]
 Get the size of this object in bytes. More...
 

Detailed Description

This interface class is the superclass of all user objects in the cache that can be serialized.

Member Function Documentation

◆ ToString()

String ^ Apache::Geode::Client::ISerializable::ToString ( )

Return a string representation of the object.

Implemented in Apache::Geode::Client::CacheableBuiltinKey< TNative, TManaged, TYPEID >, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableBoolean, bool, static_cast< int8_t >(DSCode::CacheableBoolean)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableByte, Byte, static_cast< int8_t >(DSCode::CacheableByte)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableCharacter, Char, static_cast< int8_t >(DSCode::CacheableCharacter)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableDouble, Double, static_cast< int8_t >(DSCode::CacheableDouble)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableFloat, Single, static_cast< int8_t >(DSCode::CacheableFloat)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableInt16, System::Int16, static_cast< int8_t >(DSCode::CacheableInt16)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableInt32, System::Int32, static_cast< int8_t >(DSCode::CacheableInt32)>, Apache::Geode::Client::CacheableBuiltinKey< native::CacheableInt64, System::Int64, static_cast< int8_t >(DSCode::CacheableInt64)>, Apache::Geode::Client::CacheableBuiltinArray< TNative, TNativePtr, TManaged, TYPEID >, Apache::Geode::Client::CacheableBuiltinArray< NativeArray, NativeArray, ManagedType, DsCode >, Apache::Geode::Client::CacheableDate, Apache::Geode::Client::CacheableFileName, Apache::Geode::Client::CacheableObject, Apache::Geode::Client::CacheableObjectXml, Apache::Geode::Client::CacheableString, Apache::Geode::Client::CacheableStringArray, Apache::Geode::Client::Properties< TPropKey, TPropValue >, Apache::Geode::Client::Properties< String^, String^>, and Apache::Geode::Client::Serializable.

Property Documentation

◆ ObjectSize

System:: UInt64 Apache::Geode::Client::ISerializable::ObjectSize
get

Get the size of this object in bytes.

This is only needed if you use the HeapLRU feature.

Note that you can simply return zero if you are not using the HeapLRU feature.

Returns
the size of this object in bytes.

Apache Geode C++ Cache .NET API Documentation