gemfire::ManagedCacheableDeltaGeneric Class Reference


Detailed Description

Wraps the managed GemStone.GemFire.Cache.IGFDelta object and implements the native gemfire::CacheableKey interface.

Public Member Functions

virtual int32_t classId () const
virtual int8_t DSFID () const
virtual
gemfire::Serializable * 
fromData (gemfire::DataInput &input)
virtual uint32_t hashcode () const
virtual size_t logString (char *buffer, size_t maxLength) const
 ManagedCacheableDeltaGeneric (GemStone::GemFire::Cache::Generic::IGFDelta^ managedptr)
virtual uint32_t objectSize () const
virtual bool operator== (const ManagedCacheableDeltaGeneric &other) const
virtual bool operator== (const CacheableKey &other) const
GemStone::GemFire::Cache::Generic::IGFDeltaptr () const
virtual void toData (gemfire::DataOutput &output) const
virtual int8_t typeId () const

Constructor & Destructor Documentation

gemfire::ManagedCacheableDeltaGeneric::ManagedCacheableDeltaGeneric ( GemStone::GemFire::Cache::Generic::IGFDelta^   managedptr  )  [inline]

Constructor to initialize with the provided managed object.

Parameters:
managedptr The managed object.


Member Function Documentation

virtual int32_t gemfire::ManagedCacheableDeltaGeneric::classId (  )  const [virtual]

return the classId of the instance being serialized. This is used by deserialization to determine what instance type to create and deserialize into.

virtual int8_t gemfire::ManagedCacheableDeltaGeneric::DSFID (  )  const [virtual]

return the Data Serialization Fixed ID type. This is used to determine what instance type to create and deserialize into.

Note that this should not be overridden by custom implementations and is reserved only for builtin types.

virtual gemfire::Serializable* gemfire::ManagedCacheableDeltaGeneric::fromData ( gemfire::DataInput &  input  )  [virtual]

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

virtual uint32_t gemfire::ManagedCacheableDeltaGeneric::hashcode (  )  const [virtual]

return the hashcode for this key.

virtual size_t gemfire::ManagedCacheableDeltaGeneric::logString ( char *  buffer,
size_t  maxLength 
) const [virtual]

Copy the string form of a key into a char* buffer for logging purposes. implementations should only generate a string as long as maxLength chars, and return the number of chars written. buffer is expected to be large enough to hold at least maxLength chars. The default implementation renders the classname and instance address.

virtual uint32_t gemfire::ManagedCacheableDeltaGeneric::objectSize (  )  const [virtual]

return the size of this object in bytes

virtual bool gemfire::ManagedCacheableDeltaGeneric::operator== ( const ManagedCacheableDeltaGeneric other  )  const [virtual]

return true if this key matches other ManagedCacheableDeltaGeneric

virtual bool gemfire::ManagedCacheableDeltaGeneric::operator== ( const CacheableKey &  other  )  const [virtual]

return true if this key matches other CacheableKey

GemStone::GemFire::Cache::Generic::IGFDelta ^ gemfire::ManagedCacheableDeltaGeneric::ptr (  )  const [inline]

Returns the wrapped managed object reference.

virtual void gemfire::ManagedCacheableDeltaGeneric::toData ( gemfire::DataOutput &  output  )  const [virtual]

serialize this object

virtual int8_t gemfire::ManagedCacheableDeltaGeneric::typeId (  )  const [virtual]

return the typeId of the instance being serialized. This is used by deserialization to determine what instance type to create and deserialize into.


GemFire C++ Cache .NET API Documentation