GemStone::GemFire::Cache::Generic::CacheableFileName Class Reference

Inherits GemStone::GemFire::Cache::Generic::ICacheableKey.

Detailed Description

An immutable filename wrapper that can serve as a distributable key object for caching as well as being a string value.

Public Member Functions

virtual bool Equals (Object^ obj) override
virtual bool Equals (ICacheableKey^ other)
virtual IGFSerializableFromData (DataInput^ input)
virtual int32_t GetHashCode () override
virtual void ToData (DataOutput^ output)
virtual String^ ToString () override

Static Public Member Functions

static CacheableFileNameCreate (array< Char >^value)
static CacheableFileNameCreate (String^ value)


virtual uint32_t ClassId [get]
virtual uint32_t ObjectSize [get]
String^  Value [get]

Member Function Documentation

static CacheableFileName ^ GemStone::GemFire::Cache::Generic::CacheableFileName::Create ( array< Char >^  value  )  [inline, static]

Static function to create a new instance from the given character array.

static CacheableFileName ^ GemStone::GemFire::Cache::Generic::CacheableFileName::Create ( String^   value  )  [inline, static]

Static function to create a new instance from the given string.

virtual bool GemStone::GemFire::Cache::Generic::CacheableFileName::Equals ( Object^   obj  )  [override, virtual]

Return true if this key matches other object.

virtual bool GemStone::GemFire::Cache::Generic::CacheableFileName::Equals ( ICacheableKey^   other  )  [virtual]

Return true if this key matches other object.

Implements GemStone::GemFire::Cache::Generic::ICacheableKey.

virtual IGFSerializable ^ GemStone::GemFire::Cache::Generic::CacheableFileName::FromData ( DataInput^   input  )  [virtual]

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

input the DataInput stream to use for reading the object data
the deserialized object

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

virtual int32_t GemStone::GemFire::Cache::Generic::CacheableFileName::GetHashCode (  )  [override, virtual]

Return the hashcode for this key.

Implements GemStone::GemFire::Cache::Generic::ICacheableKey.

virtual void GemStone::GemFire::Cache::Generic::CacheableFileName::ToData ( DataOutput^   output  )  [virtual]

Serializes this object.

output the DataOutput object to use for serializing the object

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

virtual String ^ GemStone::GemFire::Cache::Generic::CacheableFileName::ToString (  )  [inline, override, virtual]

Return a string representation of the object. This returns the same string as Value property.

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

Property Documentation

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

the classId

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

virtual uint32_t GemStone::GemFire::Cache::Generic::CacheableFileName::ObjectSize [get]

return the size of this object in bytes

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

String^ GemStone::GemFire::Cache::Generic::CacheableFileName::Value [get]

Gets the string value.

GemFire C++ Cache .NET API Documentation