Hazelcast C++ Client
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
hazelcast::client::DistributedObject Class Referenceabstract

Base class for all distributed objects. More...

#include <DistributedObject.h>

+ Inheritance diagram for hazelcast::client::DistributedObject:

Public Member Functions

const std::string & getServiceName () const
 Returns the service name for this object.
 
const std::string & getName () const
 Returns the unique name for this DistributedObject. More...
 
virtual void destroy ()=0
 Destroys this object cluster-wide. More...
 
virtual ~DistributedObject ()
 Destructor.
 
- Public Member Functions inherited from hazelcast::client::IDistributedObject
virtual ~IDistributedObject ()
 Destructor.
 

Protected Member Functions

 DistributedObject (const std::string &serviceName, const std::string &objectName)
 Constructor.
 
virtual void onDestroy ()
 method to be called when cluster-wide destroy method is called.
 

Protected Attributes

impl::DistributedObjectInfo info
 

Friends

class impl::HazelcastClientInstanceImpl
 

Detailed Description

Base class for all distributed objects.

See also
IMap
MultiMap
IQueue
IList
ISet
ITopic
ILock
ISemaphore
ICountDownLatch
IdGenerator
IAtomicLong
TransactionalMap
TransactionalQueue
TransactionalMultiMap
TransactionalSet
TransactionalList

Member Function Documentation

◆ destroy()

virtual void hazelcast::client::DistributedObject::destroy ( )
pure virtual

Destroys this object cluster-wide.

Clears and releases all resources for this object.

Implements hazelcast::client::IDistributedObject.

◆ getName()

const std::string & hazelcast::client::DistributedObject::getName ( ) const
virtual

Returns the unique name for this DistributedObject.

Returns
the unique name for this object.

Implements hazelcast::client::IDistributedObject.


The documentation for this class was generated from the following files: