Gets the instance of Cache produced by an earlier call to Create(String, DistributedSystem), even if it has been closed.

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

Syntax

C#
public static Cache GetInstanceCloseOk(
	DistributedSystem system
)
Visual Basic (Declaration)
Public Shared Function GetInstanceCloseOk ( _
	system As DistributedSystem _
) As Cache
Visual C++
public:
static Cache^ GetInstanceCloseOk (
	DistributedSystem^ system
)

Parameters

system
DistributedSystem
the DistributedSystem the cache was created with.

Return Value

the Cache associated with the specified system.

Exceptions

ExceptionCondition
GemStone.GemFire.Cache..::IllegalArgumentException if the distributed system argument is null
GemStone.GemFire.Cache..::CacheClosedException if a cache has not been created.
GemStone.GemFire.Cache..::EntryNotFoundException if a cache with specified system not found

See Also