GemStone::GemFire::Cache::CacheableInt64 Class Reference

Inherits GemStone::GemFire::Cache::Internal::CacheableBuiltinKey< gemfire::CacheableInt64, Int64, GemFireClassIds::CacheableInt64 >.


Detailed Description

An immutable wrapper for 64-bit integers that can serve as a distributable key object for caching.

Public Member Functions

 CacheableInt64 (Int64 value)
virtual Boolean Equals (Object^ obj) override
virtual Boolean Equals (ICacheableKey^ other) override
virtual IGFSerializableFromData (DataInput^ input)
virtual Int32 GetHashCode () override
Boolean operator== (Int64other)
virtual void ToData (DataOutput^ output)
virtual String^  ToString () override

Static Public Member Functions

static operator CacheableKey^ (String^ value)
static operator CacheableKey^ (Int64 value)
static operator CacheableKey^ (Int32 value)
static operator CacheableKey^ (Char value)
static operator CacheableKey^ (Int16 value)
static operator CacheableKey^ (Single value)
static operator CacheableKey^ (Double value)
static operator CacheableKey^ (Byte value)
static operator CacheableKey^ (Boolean value)
static operator Serializable^ (array< String^ >^value)
static operator Serializable^ (String^ value)
static operator Serializable^ (array< Int64 >^value)
static operator Serializable^ (Int64 value)
static operator Serializable^ (array< Int32 >^value)
static operator Serializable^ (Int32 value)
static operator Serializable^ (array< Int16 >^value)
static operator Serializable^ (Char value)
static operator Serializable^ (Int16 value)
static operator Serializable^ (array< Single >^value)
static operator Serializable^ (Single value)
static operator Serializable^ (array< Double >^value)
static operator Serializable^ (Double value)
static operator Serializable^ (array< Byte >^value)
static operator Serializable^ (Byte value)
static operator Serializable^ (Boolean value)
static void RegisterType (TypeFactoryMethod^ creationMethod)

Properties

virtual Byte ClassId [get]
virtual UInt32 ObjectSize [get]
Int64 Value [get]

Constructor & Destructor Documentation

GemStone::GemFire::Cache::CacheableInt64::CacheableInt64 ( Int64  value  )  [inline]

Allocates a new instance with the given value.

Parameters:
value the value of the new instance


Member Function Documentation

virtual Boolean GemStone::GemFire::Cache::Internal::CacheableBuiltinKey< gemfire::CacheableInt64 , Int64 , TYPEID >::Equals ( Object^   obj  )  [inline, override, virtual, inherited]

Return true if this key matches other object. It invokes the '==' operator of the underlying native object.

Reimplemented from GemStone::GemFire::Cache::CacheableKey.

virtual Boolean GemStone::GemFire::Cache::Internal::CacheableBuiltinKey< gemfire::CacheableInt64 , Int64 , TYPEID >::Equals ( ICacheableKey^   other  )  [inline, override, virtual, inherited]

Return true if this key matches other object. It invokes the '==' operator of the underlying native object.

Reimplemented from GemStone::GemFire::Cache::CacheableKey.

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

Deserializes the native (C++) object -- returns an instance of the Serializable class with the native object wrapped inside.

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

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

virtual Int32 GemStone::GemFire::Cache::CacheableKey::GetHashCode (  )  [override, virtual, inherited]

Return the hashcode for this key. It gets the hash code by calling the hashcode() function of the underlying gemfire::CacheableKey object.

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

Reimplemented in GemStone::GemFire::Cache::CacheableString.

static GemStone::GemFire::Cache::CacheableKey::operator CacheableKey^ ( String^   value  )  [static, inherited]

Implicit conversion operator from a string to a CacheableKey.

static GemStone::GemFire::Cache::CacheableKey::operator CacheableKey^ ( Int64  value  )  [static, inherited]

Implicit conversion operator from a 64-bit integer to a CacheableKey.

static GemStone::GemFire::Cache::CacheableKey::operator CacheableKey^ ( Int32  value  )  [static, inherited]

Implicit conversion operator from a 32-bit integer to a CacheableKey.

static GemStone::GemFire::Cache::CacheableKey::operator CacheableKey^ ( Char  value  )  [static, inherited]

Implicit conversion operator from a character to a CacheableKey.

static GemStone::GemFire::Cache::CacheableKey::operator CacheableKey^ ( Int16  value  )  [static, inherited]

Implicit conversion operator from a 16-bit integer to a CacheableKey.

static GemStone::GemFire::Cache::CacheableKey::operator CacheableKey^ ( Single  value  )  [static, inherited]

Implicit conversion operator from a float to a CacheableKey.

static GemStone::GemFire::Cache::CacheableKey::operator CacheableKey^ ( Double  value  )  [static, inherited]

Implicit conversion operator from a double to a CacheableKey.

static GemStone::GemFire::Cache::CacheableKey::operator CacheableKey^ ( Byte  value  )  [static, inherited]

Implicit conversion operator from a byte to a CacheableKey.

static GemStone::GemFire::Cache::CacheableKey::operator CacheableKey^ ( Boolean  value  )  [static, inherited]

Implicit conversion operator from a boolean to a CacheableKey.

static GemStone::GemFire::Cache::Serializable::operator Serializable^ ( array< String^ >^  value  )  [static, inherited]

Implicit conversion operator from a string array to a Serializable.

static GemStone::GemFire::Cache::Serializable::operator Serializable^ ( String^   value  )  [static, inherited]

Implicit conversion operator from a string to a Serializable.

static GemStone::GemFire::Cache::Serializable::operator Serializable^ ( array< Int64 >^  value  )  [static, inherited]

Implicit conversion operator from a 64-bit integer array to a Serializable.

static GemStone::GemFire::Cache::Serializable::operator Serializable^ ( Int64  value  )  [static, inherited]

Implicit conversion operator from a 64-bit integer to a Serializable.

static GemStone::GemFire::Cache::Serializable::operator Serializable^ ( array< Int32 >^  value  )  [static, inherited]

Implicit conversion operator from a 32-bit integer array to a Serializable.

static GemStone::GemFire::Cache::Serializable::operator Serializable^ ( Int32  value  )  [static, inherited]

Implicit conversion operator from a 32-bit integer to a Serializable.

static GemStone::GemFire::Cache::Serializable::operator Serializable^ ( array< Int16 >^  value  )  [static, inherited]

Implicit conversion operator from a 16-bit integer array to a Serializable.

static GemStone::GemFire::Cache::Serializable::operator Serializable^ ( Char  value  )  [static, inherited]

Implicit conversion operator from a character to a Serializable.

static GemStone::GemFire::Cache::Serializable::operator Serializable^ ( Int16  value  )  [static, inherited]

Implicit conversion operator from a 16-bit integer to a Serializable.

static GemStone::GemFire::Cache::Serializable::operator Serializable^ ( array< Single >^  value  )  [static, inherited]

Implicit conversion operator from a float array to a Serializable.

static GemStone::GemFire::Cache::Serializable::operator Serializable^ ( Single  value  )  [static, inherited]

Implicit conversion operator from a float to a Serializable.

static GemStone::GemFire::Cache::Serializable::operator Serializable^ ( array< Double >^  value  )  [static, inherited]

Implicit conversion operator from a double array to a Serializable.

static GemStone::GemFire::Cache::Serializable::operator Serializable^ ( Double  value  )  [static, inherited]

Implicit conversion operator from a double to a Serializable.

static GemStone::GemFire::Cache::Serializable::operator Serializable^ ( array< Byte >^  value  )  [static, inherited]

Implicit conversion operator from an array of bytes to a Serializable.

static GemStone::GemFire::Cache::Serializable::operator Serializable^ ( Byte  value  )  [static, inherited]

Implicit conversion operator from a byte to a Serializable.

static GemStone::GemFire::Cache::Serializable::operator Serializable^ ( Boolean  value  )  [static, inherited]

Implicit conversion operator from a boolean to a Serializable.

Boolean GemStone::GemFire::Cache::Internal::CacheableBuiltinKey< gemfire::CacheableInt64 , Int64 , TYPEID >::operator== ( Int64   other  )  [inline, inherited]

Comparison operator against another value.

static void GemStone::GemFire::Cache::Serializable::RegisterType ( TypeFactoryMethod^   creationMethod  )  [static, inherited]

Register an instance factory method for a given type. This should be used when registering types that implement IGFSerializable.

Parameters:
creationMethod the creation function to register
Exceptions:
IllegalArgumentException if the method is null
IllegalStateException if the typeId has already been registered, or there is an error in registering the type; check Utils::LastError for more information in the latter case.

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

Serializes this native (C++) object.

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

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

virtual String ^ GemStone::GemFire::Cache::Internal::CacheableBuiltinKey< gemfire::CacheableInt64 , Int64 , TYPEID >::ToString (  )  [inline, override, virtual, inherited]

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

Reimplemented from GemStone::GemFire::Cache::Serializable.


Property Documentation

virtual Byte GemStone::GemFire::Cache::Internal::CacheableBuiltinKey< gemfire::CacheableInt64 , Int64 , TYPEID >::ClassId [get, inherited]

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

virtual UInt32 GemStone::GemFire::Cache::Serializable::ObjectSize [get, inherited]

return the size of this object in bytes

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

Int64 GemStone::GemFire::Cache::Internal::CacheableBuiltinKey< gemfire::CacheableInt64 , Int64 , TYPEID >::Value [get, inherited]

Gets the value.


GemFire C++ Cache .NET API Documentation