gemfire::CacheAttributesFactory Class Reference


Detailed Description

Creates instances of CacheAttributes.

See also:
CacheAttributes

Public Member Functions

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

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:
IllegalStateException if 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