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

Defines attributes for configuring a cache. More...

Inherits gemfire::SharedBase.

Public Member Functions

char * getEndpoints ()
 Gets cache level endpoints list. More...
 
int getRedundancyLevel ()
 public static methods More...
 
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...
 

Detailed Description

Defines attributes for configuring a cache.

Currently the following attributes are defined: redundancyLevel: Redundancy for HA client queues. endpoints: Cache level endpoints list.

To create an instance of this interface, use CacheAttributesFactory::createCacheAttributes.

For compatibility rules and default values, see CacheAttributesFactory.

Note that the CacheAttributes are not distributed with the region.

See also
CacheAttributesFactory

Member Function Documentation

char* gemfire::CacheAttributes::getEndpoints ( )

Gets cache level endpoints list.

int gemfire::CacheAttributes::getRedundancyLevel ( )

public static methods

Gets redundancy level for regions in the cache.

void gemfire::SharedBase::preserveSB ( ) const
inherited

Atomically increment reference count.

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

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


GemFire C++ Cache API Documentation