GemStone::GemFire::Cache::CacheableArrayList Class Reference

Inherits GemStone::GemFire::Cache::CacheableVector.


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

 CacheableArrayList (int32_t capacity)
 CacheableArrayList (IEnumerable< IGFSerializable^ >^collection)
 CacheableArrayList ()
virtual IGFSerializableFromData (DataInput^ input)
virtual void ToData (DataOutput^ output)
String^ ToString ()

Static Public Member Functions

static
CacheableArrayList
Create (int32_t capacity)
static
CacheableArrayList
Create (IEnumerable< IGFSerializable^ >^collection)
static
CacheableArrayList
Create ()
static IGFSerializableCreateDeserializable ()

Properties

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

Constructor & Destructor Documentation

GemStone::GemFire::Cache::CacheableArrayList::CacheableArrayList (  )  [inline]

Allocates a new empty instance.

GemStone::GemFire::Cache::CacheableArrayList::CacheableArrayList ( IEnumerable< IGFSerializable^ >^  collection  )  [inline]

Allocates a new instance copying from the given collection.

Parameters:
collection The collection whose elements are copied to this list.

GemStone::GemFire::Cache::CacheableArrayList::CacheableArrayList ( int32_t  capacity  )  [inline]

Allocates a new empty instance with given initial size.

Parameters:
capacity The initial capacity of the vector.


Member Function Documentation

static CacheableArrayList ^ GemStone::GemFire::Cache::CacheableArrayList::Create ( int32_t  capacity  )  [inline, static]

Static function to create a new instance with given initial size.

Reimplemented from GemStone::GemFire::Cache::CacheableVector.

static CacheableArrayList ^ GemStone::GemFire::Cache::CacheableArrayList::Create ( IEnumerable< IGFSerializable^ >^  collection  )  [inline, static]

Static function to create a new instance copying from the given collection.

Reimplemented from GemStone::GemFire::Cache::CacheableVector.

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

Static function to create a new empty instance.

Reimplemented from GemStone::GemFire::Cache::CacheableVector.

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

Factory function to register this class.

Reimplemented from GemStone::GemFire::Cache::CacheableVector.

virtual IGFSerializable ^ GemStone::GemFire::Cache::CacheableVector::FromData ( DataInput^   input  )  [virtual, inherited]

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::IGFSerializable.

virtual void GemStone::GemFire::Cache::CacheableVector::ToData ( DataOutput^   output  )  [virtual, inherited]

Serializes this object.

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

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

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

Return a string representation of the object.

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


Property Documentation

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

Reimplemented from GemStone::GemFire::Cache::CacheableVector.

virtual uint32_t GemStone::GemFire::Cache::CacheableVector::ObjectSize [get, inherited]

return the size of this object in bytes

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


GemFire C++ Cache .NET API Documentation