Hazelcast C++ Client
 All Classes Functions Variables Enumerations Pages
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>

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.
 

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 HazelcastClient
 

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

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

Destroys this object cluster-wide.

Clears and releases all resources for this object.

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

Returns the unique name for this DistributedObject.

Returns
the unique name for this object.

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