GemStone::GemFire::Cache::Generic::CacheableLinkedList Class Reference

Inherits GemStone::GemFire::Cache::Generic::IGFSerializable.


Detailed Description

A mutable IGFSerializable vector wrapper that can serve as a distributable object for caching. This class extends .NET generic List class.

Public Member Functions

 CacheableLinkedList (System::Collections::Generic::LinkedList< Object^ >^list)
virtual IGFSerializableFromData (DataInput^ input)
virtual void ToData (DataOutput^ output)
String^ ToString ()

Static Public Member Functions

static
CacheableLinkedList
Create (System::Collections::Generic::LinkedList< Object^ >^list)
static
CacheableLinkedList
Create ()
static IGFSerializableCreateDeserializable ()

Properties

virtual uint32_t ClassId [get]
virtual uint32_t ObjectSize [get]

Constructor & Destructor Documentation

GemStone::GemFire::Cache::Generic::CacheableLinkedList::CacheableLinkedList ( System::Collections::Generic::LinkedList< Object^ >^  list  )  [inline]

Allocates a new empty instance.


Member Function Documentation

static CacheableLinkedList ^ GemStone::GemFire::Cache::Generic::CacheableLinkedList::Create ( System::Collections::Generic::LinkedList< Object^ >^  list  )  [inline, static]

Static function to create a new empty instance.

static CacheableLinkedList ^ GemStone::GemFire::Cache::Generic::CacheableLinkedList::Create (  )  [inline, static]

Static function to create a new empty instance.

static IGFSerializable ^ GemStone::GemFire::Cache::Generic::CacheableLinkedList::CreateDeserializable (  )  [inline, static]

Factory function to register this class.

virtual IGFSerializable ^ GemStone::GemFire::Cache::Generic::CacheableLinkedList::FromData ( DataInput^   input  )  [inline, virtual]

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

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

Implements GemStone::GemFire::Cache::Generic::IGFSerializable.

virtual void GemStone::GemFire::Cache::Generic::CacheableLinkedList::ToData ( DataOutput^   output  )  [inline, virtual]

Serializes this object.

Parameters:
output the DataOutput object to use for serializing the object

Implements GemStone::GemFire::Cache::Generic::IGFSerializable.

String ^ GemStone::GemFire::Cache::Generic::IGFSerializable::ToString (  )  [inherited]

Return a string representation of the object.

Implemented in GemStone::GemFire::Cache::Generic::CacheableBuiltinKey< TNative, TManaged, TYPEID >, GemStone::GemFire::Cache::Generic::CacheableBuiltinArray< TNative, TNativePtr, TManaged, TYPEID >, GemStone::GemFire::Cache::Generic::CacheableDate, GemStone::GemFire::Cache::Generic::CacheableFileName, GemStone::GemFire::Cache::Generic::CacheableObject, GemStone::GemFire::Cache::Generic::CacheableObjectXml, GemStone::GemFire::Cache::Generic::CacheableStringArray, GemStone::GemFire::Cache::Generic::CacheableString, GemStone::GemFire::Cache::Generic::Properties< TPropKey, TPropValue >, GemStone::GemFire::Cache::Generic::Serializable, GemStone::GemFire::Cache::Generic::CacheableBuiltinKey< gemfire::CacheableFloat, Single, GemFireClassIds::CacheableFloat >, GemStone::GemFire::Cache::Generic::CacheableBuiltinKey< gemfire::CacheableByte, Byte, GemFireClassIds::CacheableByte >, GemStone::GemFire::Cache::Generic::CacheableBuiltinKey< gemfire::CacheableWideChar, Char, GemFireClassIds::CacheableCharacter >, GemStone::GemFire::Cache::Generic::CacheableBuiltinKey< gemfire::CacheableDouble, Double, GemFireClassIds::CacheableDouble >, GemStone::GemFire::Cache::Generic::CacheableBuiltinKey< gemfire::CacheableInt64, int64_t, GemFireClassIds::CacheableInt64 >, GemStone::GemFire::Cache::Generic::CacheableBuiltinKey< gemfire::CacheableBoolean, bool, GemFireClassIds::CacheableBoolean >, GemStone::GemFire::Cache::Generic::CacheableBuiltinKey< gemfire::CacheableInt16, int16_t, GemFireClassIds::CacheableInt16 >, GemStone::GemFire::Cache::Generic::CacheableBuiltinKey< gemfire::CacheableInt32, int32_t, GemFireClassIds::CacheableInt32 >, GemStone::GemFire::Cache::Generic::CacheableBuiltinArray< gemfire::CacheableBytes, gemfire::CacheableBytesPtr, Byte, GemFireClassIds::CacheableBytes >, GemStone::GemFire::Cache::Generic::CacheableBuiltinArray< gemfire::CacheableInt32Array, gemfire::CacheableInt32ArrayPtr, int32_t, GemFireClassIds::CacheableInt32Array >, GemStone::GemFire::Cache::Generic::CacheableBuiltinArray< gemfire::CharArray, gemfire::CharArrayPtr, Char, GemFireClassIds::CharArray >, GemStone::GemFire::Cache::Generic::CacheableBuiltinArray< gemfire::CacheableInt64Array, gemfire::CacheableInt64ArrayPtr, int64_t, GemFireClassIds::CacheableInt64Array >, GemStone::GemFire::Cache::Generic::CacheableBuiltinArray< gemfire::CacheableFloatArray, gemfire::CacheableFloatArrayPtr, Single, GemFireClassIds::CacheableFloatArray >, GemStone::GemFire::Cache::Generic::CacheableBuiltinArray< gemfire::CacheableInt16Array, gemfire::CacheableInt16ArrayPtr, int16_t, GemFireClassIds::CacheableInt16Array >, GemStone::GemFire::Cache::Generic::CacheableBuiltinArray< gemfire::CacheableDoubleArray, gemfire::CacheableDoubleArrayPtr, Double, GemFireClassIds::CacheableDoubleArray >, GemStone::GemFire::Cache::Generic::CacheableBuiltinArray< gemfire::BooleanArray, gemfire::BooleanArrayPtr, bool, GemFireClassIds::BooleanArray >, and GemStone::GemFire::Cache::Generic::Properties< String^ , String^ >.


Property Documentation

virtual uint32_t GemStone::GemFire::Cache::Generic::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

Implements GemStone::GemFire::Cache::Generic::IGFSerializable.

virtual uint32_t GemStone::GemFire::Cache::Generic::CacheableLinkedList::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.

Implements GemStone::GemFire::Cache::Generic::IGFSerializable.


GemFire C++ Cache .NET API Documentation