GemStone::GemFire::Cache::Generic::Scope Class Reference


Detailed Description

Static class containing convenience methods for ScopeType.

See also:
RegionAttributes.Scope, AttributesFactory.SetScope


Static Public Member Functions

static bool IsAck (ScopeType type)
static bool IsDistributed (ScopeType type)
static bool IsDistributedAck (ScopeType type)
static bool IsDistributedNoAck (ScopeType type)
static bool IsLocal (ScopeType type)

Member Function Documentation

static bool GemStone::GemFire::Cache::Generic::Scope::IsAck ( ScopeType  type  )  [inline, static]

True if acknowledgements are required for the given scope.

Parameters:
type scope
Returns:
true if DistributedAck, false otherwise

static bool GemStone::GemFire::Cache::Generic::Scope::IsDistributed ( ScopeType  type  )  [inline, static]

True if the given scope is one of the distributed scopes.

Parameters:
type scope
Returns:
true if other than Local; could be Invalid

static bool GemStone::GemFire::Cache::Generic::Scope::IsDistributedAck ( ScopeType  type  )  [inline, static]

True if the given scope is distributed-ack.

Parameters:
type scope
Returns:
true if DistributedAck

static bool GemStone::GemFire::Cache::Generic::Scope::IsDistributedNoAck ( ScopeType  type  )  [inline, static]

True if the given scope is distributed-no-ack.

Parameters:
type scope
Returns:
true if DistributedNoAck

static bool GemStone::GemFire::Cache::Generic::Scope::IsLocal ( ScopeType  type  )  [inline, static]

True if the given scope is local.

Parameters:
type scope
Returns:
true if Local


GemFire C++ Cache .NET API Documentation