Set caching enabled flag for this region.

Namespace: GemStone.GemFire.Cache.Generic
Assembly:  GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll)
Version: 3.6.3.0

Syntax

C#
public RegionFactory SetCachingEnabled(
	bool cachingEnabled
)
Visual Basic (Declaration)
Public Function SetCachingEnabled ( _
	cachingEnabled As Boolean _
) As RegionFactory
Visual C++
public:
RegionFactory^ SetCachingEnabled (
	bool cachingEnabled
)

Parameters

cachingEnabled
Boolean
if true, cache data for this region in this process.

Return Value

the instance of RegionFactory

Remarks

If set to false, then no data is stored in the local process, but events and distributions will still occur, and the region can still be used to put and remove, etc...

The default if not set is 'true', 'false' is illegal for regions of ScopeType.Local scope.

See Also