RegionFactorySetCachingEnabled Method |
Set caching enabled flag for this region.
Namespace: GemStone.GemFire.CacheAssembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntaxpublic RegionFactory SetCachingEnabled(
bool cachingEnabled
)
Public Function SetCachingEnabled (
cachingEnabled As Boolean
) As RegionFactory
public:
RegionFactory^ SetCachingEnabled(
bool cachingEnabled
)
member SetCachingEnabled :
cachingEnabled : bool -> RegionFactory
Parameters
- cachingEnabled
- Type: SystemBoolean
if true, cache data for this region in this process.
Return Value
Type:
RegionFactorythe 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