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

Inherits GemStone::GemFire::Cache::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::CacheableFileName::Create ( array< Char >^  value  )  [inline, static]

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

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

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

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

Return true if this key matches other object.

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

Return true if this key matches other object.

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

virtual IGFSerializable ^ GemStone::GemFire::Cache::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::IGFSerializable.

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

Return the hashcode for this key.

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

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

Serializes this object.

output the DataOutput object to use for serializing the object

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

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

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

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

Property Documentation

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

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

return the size of this object in bytes

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

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

Gets the string value.

GemFire C++ Cache .NET API Documentation