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

Creates instances of CacheAttributes. More...

Public Member Functions

 CacheAttributesFactory ()
 public methods More...
 
CacheAttributesPtr createCacheAttributes ()
 Creates a CacheAttributes with the current settings. More...
 
void setEndpoints (const char *endPoints)
 Sets the end points for this native client. More...
 
void setRedundancyLevel (int redundancyLevel)
 Sets the redundancy level for this native client. More...
 
virtual ~CacheAttributesFactory ()
 destructor More...
 

Detailed Description

Creates instances of CacheAttributes.

See also
CacheAttributes

Constructor & Destructor Documentation

gemfire::CacheAttributesFactory::CacheAttributesFactory ( )

public methods

constructor Creates a new instance of CacheAttributesFactory ready to create a CacheAttributes with default settings.

virtual gemfire::CacheAttributesFactory::~CacheAttributesFactory ( )
virtual

destructor

Member Function Documentation

CacheAttributesPtr gemfire::CacheAttributesFactory::createCacheAttributes ( )

Creates a CacheAttributes with the current settings.

Returns
the newly created CacheAttributes
Exceptions
IllegalStateExceptionif the current settings violate the compatibility rules
void gemfire::CacheAttributesFactory::setEndpoints ( const char *  endPoints)

Sets the end points for this native client.

Deprecated:
since 3.5, use PoolFactory#addServer or PoolFactory#addLocatorinstead.
void gemfire::CacheAttributesFactory::setRedundancyLevel ( int  redundancyLevel)

Sets the redundancy level for this native client.

Notification queues are attempted to be maintained on n servers ( if possible ) where n = redundancy level.

Deprecated:
since 3.5, use PoolFactory#setSubscriptionRedundancy instead.

GemFire C++ Cache API Documentation