VMware GemFire Native Client Cache Reference  9.0.6
gemfire::SharedBase Class Reference

This abstract base class is the base class of all user objects that have the shared capability of reference counting. More...

Inherited by gemfire::AttributesFactory, gemfire::AttributesMutator, gemfire::AuthInitialize, gemfire::CacheAttributes, gemfire::CacheFactory, gemfire::CacheListener, gemfire::CacheLoader, gemfire::CacheStatistics, gemfire::CacheTransactionManager, gemfire::CacheWriter, gemfire::CqAttributes [virtual], gemfire::CqAttributesFactory, gemfire::CqAttributesMutator [virtual], gemfire::CqListener, gemfire::CqQuery, gemfire::CqServiceStatistics, gemfire::CqStatistics, gemfire::DistributedSystem, gemfire::EntryEvent, gemfire::Exception, gemfire::Execution, gemfire::FunctionService, gemfire::HashMapOfCacheable, gemfire::HashMapOfException, gemfire::HashSetOfCacheableKey, gemfire::NullSharedBase, gemfire::PartitionResolver, gemfire::PdxInstanceFactory, gemfire::PdxReader, gemfire::PdxSerializer, gemfire::PdxUnreadFields, gemfire::PdxWriter, gemfire::PersistenceManager, gemfire::Pool, gemfire::PoolFactory, gemfire::Query, gemfire::QueryService, gemfire::Region, gemfire::RegionEntry, gemfire::RegionFactory, gemfire::RegionService, gemfire::ResultCollector, gemfire::SelectResults, gemfire::SelectResultsIterator, gemfire::Serializable, gemfire::TransactionId, gemfire::VectorOfCacheable, and gemfire::VectorOfCacheableKey.

Public Member Functions

void preserveSB () const
 Atomically increment reference count. More...
 
int32_t refCount ()
 
void releaseSB () const
 Atomically decrement reference count, the SharedBase object is automatically deleted when its reference count goes to zero. More...
 
 SharedBase ()
 Constructor. More...
 

Detailed Description

This abstract base class is the base class of all user objects that have the shared capability of reference counting.

Constructor & Destructor Documentation

gemfire::SharedBase::SharedBase ( )
inline

Constructor.

Member Function Documentation

void gemfire::SharedBase::preserveSB ( ) const

Atomically increment reference count.

int32_t gemfire::SharedBase::refCount ( )
inline
Returns
the reference count
void gemfire::SharedBase::releaseSB ( ) const

Atomically decrement reference count, the SharedBase object is automatically deleted when its reference count goes to zero.


GemFire C++ Cache API Documentation