Apache Geode Native .NET Reference 1.15.0
Apache::Geode::Client::CacheableFileName Class Reference

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

#include <CacheableFileName.hpp>

Inherits Apache::Geode::Client::ICacheableKey, and Apache::Geode::Client::IDataSerializablePrimitive.

Public Member Functions

virtual bool Equals (ICacheableKey^ other)
 Return true if this key matches other object. More...
 
virtual bool Equals (Object^ obj) override
 Return true if this key matches other object. More...
 
virtual System::Int32 GetHashCode () override
 Return the hashcode for this key. More...
 
virtual String ^ ToString () override
 Return a string representation of the object. More...
 

Static Public Member Functions

static CacheableFileNameCreate (array< Char >^ value)
 Static function to create a new instance from the given character array. More...
 
static CacheableFileNameCreate (String^ value)
 Static function to create a new instance from the given string. More...
 

Properties

String^ Value [get]
 Gets the string value. More...
 

Detailed Description

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

Member Function Documentation

◆ Create() [1/2]

static CacheableFileName ^ Apache::Geode::Client::CacheableFileName::Create ( array< Char >^  value)
inlinestatic

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

◆ Create() [2/2]

static CacheableFileName ^ Apache::Geode::Client::CacheableFileName::Create ( String^  value)
inlinestatic

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

◆ Equals() [1/2]

virtual bool Apache::Geode::Client::CacheableFileName::Equals ( ICacheableKey other)
virtual

Return true if this key matches other object.

Implements Apache::Geode::Client::ICacheableKey.

◆ Equals() [2/2]

virtual bool Apache::Geode::Client::CacheableFileName::Equals ( Object^  obj)
overridevirtual

Return true if this key matches other object.

◆ GetHashCode()

virtual System::Int32 Apache::Geode::Client::CacheableFileName::GetHashCode ( )
overridevirtual

Return the hashcode for this key.

Implements Apache::Geode::Client::ICacheableKey.

◆ ToString()

virtual String ^ Apache::Geode::Client::CacheableFileName::ToString ( )
inlineoverridevirtual

Return a string representation of the object.

Implements Apache::Geode::Client::ISerializable.

Property Documentation

◆ Value

String^ Apache::Geode::Client::CacheableFileName::Value
get

Gets the string value.


Apache Geode C++ Cache .NET API Documentation