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

Inherits GemStone::GemFire::Cache::Generic::Internal::UMWrap< gemfire::CacheAttributesFactory >.

Detailed Description

Creates instances of CacheAttributes.

See also:

Public Member Functions

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

Protected Member Functions

void InternalCleanup ()
void SetPtr (gemfire::CacheAttributesFactory *nativeptr, bool own)


bool Own [get, set]

Constructor & Destructor Documentation

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

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

Member Function Documentation

CacheAttributes ^ GemStone::GemFire::Cache::Generic::CacheAttributesFactory::CreateCacheAttributes (  ) 

Creates a CacheAttributes with the current settings.

The newly created CacheAttributes
IllegalStateException if the current settings violate the compatibility rules.

void GemStone::GemFire::Cache::Generic::Internal::UMWrap< gemfire::CacheAttributesFactory >::InternalCleanup (  )  [inline, protected, inherited]

Internal cleanup function invoked by dispose/finalizer.

void GemStone::GemFire::Cache::Generic::CacheAttributesFactory::SetEndpoints ( String^   endpoints  ) 

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

void GemStone::GemFire::Cache::Generic::Internal::UMWrap< gemfire::CacheAttributesFactory >::SetPtr ( gemfire::CacheAttributesFactory *  nativeptr,
bool  own 
) [inline, protected, inherited]

Used to set the native pointer to a new object. This should only be used when you know that the underlying object is NULL or you do not own it.

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

Sets redundancy level to use for regions in the cache.

Property Documentation

bool GemStone::GemFire::Cache::Generic::Internal::UMWrap< gemfire::CacheAttributesFactory >::Own [get, set, protected, inherited]

Get or set the ownership of this object.

True if the native object is owned by this object.

GemFire C++ Cache .NET API Documentation