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.
Public Member Functions | |
| char * | getEndpoints () |
| Gets cache level endpoints list. | |
| int | getRedundancyLevel () |
| void | preserveSB () const |
| Atomically increment reference count. | |
| int32_t | refCount () |
| |
| void | releaseSB () const |
| Atomically decrement reference count, the SharedBase object is automatically deleted when its reference count goes to zero. | |
| 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] |
| void gemfire::SharedBase::releaseSB | ( | ) | const [inherited] |
Atomically decrement reference count, the SharedBase object is automatically deleted when its reference count goes to zero.