Inherits apache::geode::client::SharedBase.
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 {}. For compatibility rules and default values, see { CacheAttributesFactory}. Note that the CacheAttributes
are not distributed with the region.
- See also
- CacheAttributesFactory
◆ getEndpoints()
char* apache::geode::client::CacheAttributes::getEndpoints |
( |
| ) |
|
Gets cache level endpoints list.
◆ getRedundancyLevel()
int apache::geode::client::CacheAttributes::getRedundancyLevel |
( |
| ) |
|
public static methods
Gets redundancy level for regions in the cache.
◆ preserveSB()
void apache::geode::client::SharedBase::preserveSB |
( |
| ) |
const |
|
inherited |
Atomically increment reference count.
◆ refCount()
int32_t apache::geode::client::SharedBase::refCount |
( |
| ) |
|
|
inlineinherited |
- Returns
- the reference count
◆ releaseSB()
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.