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.
This abstract base class is the base class of all user objects that have the shared capability of reference counting.
gemfire::SharedBase::SharedBase |
( |
| ) |
|
|
inline |
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.