gemfire::CacheAttributes Class Reference

Inherits gemfire::SharedBase.


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

Public Member Functions

char * getEndpoints ()
 Gets cache level endpoints list.
int getRedundancyLevel ()
void preserveSB () const
 Atomically increment reference count.
int32_t refCount ()
 
Returns:
the reference count

void releaseSB () const
 Atomically decrement reference count, the SharedBase object is automatically deleted when its reference count goes to zero.

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 (  )  [inline, inherited]

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