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 |
ManagedCacheableKeyGeneric (GemStone::GemFire::Cache::Generic::IGFSerializable^ managedptr) | |
virtual uint32_t | objectSize () const |
virtual bool | operator== (const ManagedCacheableKeyGeneric &other) const |
virtual bool | operator== (const CacheableKey &other) const |
GemStone::GemFire::Cache::Generic::IGFSerializable^ | ptr () const |
virtual void | toData (gemfire::DataOutput &output) const |
virtual gemfire::CacheableStringPtr | toString () const |
virtual int8_t | typeId () const |
gemfire::ManagedCacheableKeyGeneric::ManagedCacheableKeyGeneric | ( | GemStone::GemFire::Cache::Generic::IGFSerializable^ | managedptr | ) | [inline] |
Constructor to initialize with the provided managed object.
managedptr | The managed object. |
virtual int32_t gemfire::ManagedCacheableKeyGeneric::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::ManagedCacheableKeyGeneric::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::ManagedCacheableKeyGeneric::fromData | ( | gemfire::DataInput & | input | ) | [virtual] |
deserialize this object, typical implementation should return the 'this' pointer.
virtual uint32_t gemfire::ManagedCacheableKeyGeneric::hashcode | ( | ) | const [virtual] |
return the hashcode for this key.
virtual size_t gemfire::ManagedCacheableKeyGeneric::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::ManagedCacheableKeyGeneric::objectSize | ( | ) | const [virtual] |
return the size of this object in bytes
virtual bool gemfire::ManagedCacheableKeyGeneric::operator== | ( | const ManagedCacheableKeyGeneric & | other | ) | const [virtual] |
return true if this key matches other ManagedCacheableKey
virtual bool gemfire::ManagedCacheableKeyGeneric::operator== | ( | const CacheableKey & | other | ) | const [virtual] |
return true if this key matches other CacheableKey
GemStone::GemFire::Cache::Generic::IGFSerializable ^ gemfire::ManagedCacheableKeyGeneric::ptr | ( | ) | const [inline] |
Returns the wrapped managed object reference.
virtual void gemfire::ManagedCacheableKeyGeneric::toData | ( | gemfire::DataOutput & | output | ) | const [virtual] |
serialize this object
virtual gemfire::CacheableStringPtr gemfire::ManagedCacheableKeyGeneric::toString | ( | ) | const [virtual] |
Display this object as 'string', which depends on the implementation in the managed class
virtual int8_t gemfire::ManagedCacheableKeyGeneric::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.