gemfire::CacheAttributesFactory Class Reference


Detailed Description

Creates instances of CacheAttributes.

See also:
CacheAttributes

Public Member Functions

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

Constructor & Destructor Documentation

gemfire::CacheAttributesFactory::CacheAttributesFactory (  )  throw ()

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 (  )  throw (IllegalStateException)

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  )  throw ()

Sets the end points for this native client.

void gemfire::CacheAttributesFactory::setRedundancyLevel ( int  redundancyLevel  )  throw ()

Sets the redundancy level for this native client.

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


GemFire C++ Cache API Documentation