GemStone::GemFire::Cache::Generic::CacheAttributes Class Reference

Inherits GemStone::GemFire::Cache::Generic::Internal::SBWrap< gemfire::CacheAttributes >.


Detailed Description

Defines attributes for configuring a cache.

Currently the following attributes are defined: redundancyLevel: Redundancy for HA client queues. endpoints: Cache level endpoints list. To create an instance of this interface, use CacheAttributesFactory.CreateCacheAttributes.

For compatibility rules and default values, see CacheAttributesFactory.

Note that the CacheAttributes are not distributed with the region.

See also:
CacheAttributesFactory


Protected Member Functions

void _SetNativePtr (gemfire::CacheAttributes *nativeptr)
void AssignPtr (gemfire::CacheAttributes *nativeptr)
void InternalCleanup ()
void SetPtr (gemfire::CacheAttributes *nativeptr)

Properties

String^  Endpoints [get]
int32_t RedundancyLevel [get]

Member Function Documentation

void GemStone::GemFire::Cache::Generic::Internal::SBWrap< gemfire::CacheAttributes >::_SetNativePtr ( gemfire::CacheAttributes *  nativeptr  )  [inline, protected, inherited]

Set the native pointer to the new object without doing a preserveSB(). DO NOT USE UNLESS YOU KNOW WHAT YOU ARE DOING.

void GemStone::GemFire::Cache::Generic::Internal::SBWrap< gemfire::CacheAttributes >::AssignPtr ( gemfire::CacheAttributes *  nativeptr  )  [inline, protected, inherited]

Used to assign the native pointer to a new object.

Note the order of preserveSB() and releaseSB(). This handles the corner case when m_nativeptr is same as nativeptr.

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

Internal cleanup function invoked by dispose/finalizer.

void GemStone::GemFire::Cache::Generic::Internal::SBWrap< gemfire::CacheAttributes >::SetPtr ( gemfire::CacheAttributes *  nativeptr  )  [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.


Property Documentation

String^ GemStone::GemFire::Cache::Generic::CacheAttributes::Endpoints [get]

Gets cache level endpoints list.

int32_t GemStone::GemFire::Cache::Generic::CacheAttributes::RedundancyLevel [get]

Gets redundancy level for regions in the cache.


GemFire C++ Cache .NET API Documentation