Terminates this object cache and releases all the local resources.

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

Syntax

C#
public void Close(
	bool keepalive
)
Visual Basic (Declaration)
Public Sub Close ( _
	keepalive As Boolean _
)
Visual C++
public:
void Close (
	bool keepalive
)

Parameters

keepalive
Boolean
whether to keep a durable client's queue alive

Remarks

After this cache is closed, any further method call on this cache or any region object will throw CacheClosedException, unless otherwise noted.

Exceptions

ExceptionCondition
GemStone.GemFire.Cache..::CacheClosedException if the cache is already closed.

See Also