VMware GemFire Native C++ Reference  9.1
apache::geode::client::CacheAttributes Class Reference

Defines attributes for configuring a cache. More...

Inherits apache::geode::client::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* apache::geode::client::CacheAttributes::getEndpoints ( )

Gets cache level endpoints list.

int apache::geode::client::CacheAttributes::getRedundancyLevel ( )

public static methods

Gets redundancy level for regions in the cache.

void apache::geode::client::SharedBase::preserveSB ( ) const
inherited

Atomically increment reference count.

int32_t apache::geode::client::SharedBase::refCount ( )
inlineinherited
Returns
the reference count
void apache::geode::client::SharedBase::releaseSB ( ) const
inherited

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


Pivotal GemFire C++ Cache API Documentation