Spring GemFire 1.0.1 API Reference

CacheFactoryObject.DisconnectOnClose Property

Sets a value indicating whether to call DistributedSystem.Disconnect when this object is disposed. There is a bug in the 3.0.0.9 client that may hang calls to close. The default is true, set to false if you experience a hang in the application.

[Visual Basic]
Public WriteOnly Property DisconnectOnClose() As Boolean
   Public Set
   End Set
End Property
[C#]
public bool DisconnectOnClose { public set; }

Property Value

true to call DistributedSystem.Disconnect when this object is dispose; otherwise, false.

See Also

CacheFactoryObject Class | Spring.Data.GemFire Namespace