GemStone::GemFire::Cache::CacheAttributesFactory Class Reference


Detailed Description

Creates instances of CacheAttributes.

See also:
CacheAttributes


Public Member Functions

 CacheAttributesFactory ()
CacheAttributesCreateCacheAttributes ()
void SetEndpoints (String^ endpoints)
void SetRedundancyLevel (int32_t redundancyLevel)

Constructor & Destructor Documentation

GemStone::GemFire::Cache::CacheAttributesFactory::CacheAttributesFactory (  )  [inline]

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


Member Function Documentation

CacheAttributes ^ GemStone::GemFire::Cache::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 GemStone::GemFire::Cache::CacheAttributesFactory::SetEndpoints ( String^   endpoints  ) 

Sets endpoints list to be used at the cache-level.

void GemStone::GemFire::Cache::CacheAttributesFactory::SetRedundancyLevel ( int32_t  redundancyLevel  ) 

Sets redundancy level to use for regions in the cache.


GemFire C++ Cache .NET API Documentation