VMware GemFire Native .NET Reference  9.2.4
Apache::Geode::Client::CacheableLinkedList Class Reference

A mutable IGeodeSerializable vector wrapper that can serve as a distributable object for caching. More...

Inherits Apache::Geode::Client::IGeodeSerializable.

Public Member Functions

 CacheableLinkedList (System::Collections::Generic::LinkedList< Object^>^ list)
 Allocates a new empty instance. More...
 
virtual IGeodeSerializableFromData (DataInput^ input)
 Deserialize this object, typical implementation should return the 'this' pointer. More...
 
virtual void ToData (DataOutput^ output)
 Serializes this object. More...
 
String ^ ToString ()
 Return a string representation of the object. More...
 

Static Public Member Functions

static CacheableLinkedListCreate ()
 Static function to create a new empty instance. More...
 
static CacheableLinkedListCreate (System::Collections::Generic::LinkedList< Object^>^ list)
 Static function to create a new empty instance. More...
 
static IGeodeSerializableCreateDeserializable ()
 Factory function to register this class. More...
 

Properties

virtual System::UInt32 ClassId [get]
 Returns the classId of the instance being serialized. More...
 

Detailed Description

A mutable IGeodeSerializable vector wrapper that can serve as a distributable object for caching.

This class extends .NET generic List class.

Constructor & Destructor Documentation

◆ CacheableLinkedList()

Apache::Geode::Client::CacheableLinkedList::CacheableLinkedList ( System::Collections::Generic::LinkedList< Object^>^  list)
inline

Allocates a new empty instance.

Member Function Documentation

◆ Create() [1/2]

static CacheableLinkedList ^ Apache::Geode::Client::CacheableLinkedList::Create ( )
inlinestatic

Static function to create a new empty instance.

◆ Create() [2/2]

static CacheableLinkedList ^ Apache::Geode::Client::CacheableLinkedList::Create ( System::Collections::Generic::LinkedList< Object^>^  list)
inlinestatic

Static function to create a new empty instance.

◆ CreateDeserializable()

static IGeodeSerializable ^ Apache::Geode::Client::CacheableLinkedList::CreateDeserializable ( )
inlinestatic

Factory function to register this class.

◆ FromData()

virtual IGeodeSerializable ^ Apache::Geode::Client::CacheableLinkedList::FromData ( DataInput input)
inlinevirtual

Deserialize this object, typical implementation should return the 'this' pointer.

Parameters
inputthe DataInput stream to use for reading the object data
Returns
the deserialized object

Implements Apache::Geode::Client::IGeodeSerializable.

◆ ToData()

virtual void Apache::Geode::Client::CacheableLinkedList::ToData ( DataOutput output)
inlinevirtual

Serializes this object.

Parameters
outputthe DataOutput object to use for serializing the object

Implements Apache::Geode::Client::IGeodeSerializable.

◆ ToString()

String ^ Apache::Geode::Client::IGeodeSerializable::ToString ( )
inherited

Return a string representation of the object.

Implemented in Apache::Geode::Client::CacheableBuiltinArray< TNative, TNativePtr, TManaged, TYPEID >, Apache::Geode::Client::CacheableBuiltinArray< apache::geode::client::CacheableInt32Array, apache::geode::client::CacheableInt32ArrayPtr, System::Int32, GeodeClassIds::CacheableInt32Array >, Apache::Geode::Client::CacheableBuiltinArray< apache::geode::client::CacheableDoubleArray, apache::geode::client::CacheableDoubleArrayPtr, Double, GeodeClassIds::CacheableDoubleArray >, Apache::Geode::Client::CacheableBuiltinArray< apache::geode::client::CacheableInt16Array, apache::geode::client::CacheableInt16ArrayPtr, System::Int16, GeodeClassIds::CacheableInt16Array >, Apache::Geode::Client::CacheableBuiltinArray< apache::geode::client::CacheableBytes, apache::geode::client::CacheableBytesPtr, Byte, GeodeClassIds::CacheableBytes >, Apache::Geode::Client::CacheableBuiltinArray< apache::geode::client::CharArray, apache::geode::client::CharArrayPtr, Char, GeodeClassIds::CharArray >, Apache::Geode::Client::CacheableBuiltinArray< apache::geode::client::CacheableFloatArray, apache::geode::client::CacheableFloatArrayPtr, Single, GeodeClassIds::CacheableFloatArray >, Apache::Geode::Client::CacheableBuiltinArray< apache::geode::client::BooleanArray, apache::geode::client::BooleanArrayPtr, bool, GeodeClassIds::BooleanArray >, Apache::Geode::Client::CacheableBuiltinArray< apache::geode::client::CacheableInt64Array, apache::geode::client::CacheableInt64ArrayPtr, System::Int64, GeodeClassIds::CacheableInt64Array >, Apache::Geode::Client::Properties< TPropKey, TPropValue >, Apache::Geode::Client::Properties< String^, String^>, Apache::Geode::Client::CacheableString, Apache::Geode::Client::CacheableStringArray, Apache::Geode::Client::Serializable, Apache::Geode::Client::CacheableObjectXml, Apache::Geode::Client::CacheableObject, Apache::Geode::Client::CacheableDate, Apache::Geode::Client::CacheableFileName, Apache::Geode::Client::CacheableBuiltinKey< TNative, TManaged, TYPEID >, Apache::Geode::Client::CacheableBuiltinKey< apache::geode::client::CacheableFloat, Single, GeodeClassIds::CacheableFloat >, Apache::Geode::Client::CacheableBuiltinKey< apache::geode::client::CacheableInt32, System::Int32, GeodeClassIds::CacheableInt32 >, Apache::Geode::Client::CacheableBuiltinKey< apache::geode::client::CacheableDouble, Double, GeodeClassIds::CacheableDouble >, Apache::Geode::Client::CacheableBuiltinKey< apache::geode::client::CacheableBoolean, bool, GeodeClassIds::CacheableBoolean >, Apache::Geode::Client::CacheableBuiltinKey< apache::geode::client::CacheableInt64, System::Int64, GeodeClassIds::CacheableInt64 >, Apache::Geode::Client::CacheableBuiltinKey< apache::geode::client::CacheableInt16, System::Int16, GeodeClassIds::CacheableInt16 >, Apache::Geode::Client::CacheableBuiltinKey< apache::geode::client::CacheableWideChar, Char, GeodeClassIds::CacheableCharacter >, and Apache::Geode::Client::CacheableBuiltinKey< apache::geode::client::CacheableByte, Byte, GeodeClassIds::CacheableByte >.

Property Documentation

◆ ClassId

virtual System:: UInt32 Apache::Geode::Client::CacheableLinkedList::ClassId
get

Returns the classId of the instance being serialized.

This is used by deserialization to determine what instance type to create and deserialize into.

Returns
the classId

VMware GemFire .NET Cache API Documentation