Click or drag to resize
CacheFactoryGetInstance Method
Gets the instance of Cache produced by an earlier call to [!:CacheFactory.Create].

Namespace: GemStone.GemFire.Cache
Assembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntax
public static Cache GetInstance(
	DistributedSystem system
)

Parameters

system
Type: GemStone.GemFire.CacheDistributedSystem
the DistributedSystem the cache was created with.

Return Value

Type: Cache
the Cache associated with the specified system.
Exceptions
ExceptionCondition
IllegalArgumentException if the distributed system argument is null
CacheClosedException if a cache has not been created or the created one is closed ( [!:Cache.IsClosed] )
EntryNotFoundException if a cache with specified system not found
See Also