StatelessServiceDescription.InstanceCloseDelayDuration Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the duration for which the close of a replica is delayed.
public TimeSpan? InstanceCloseDelayDuration { get; set; }
member this.InstanceCloseDelayDuration : Nullable<TimeSpan> with get, set
Public Property InstanceCloseDelayDuration As Nullable(Of TimeSpan)
Property Value
The duration for which the close of a replica is delayed.
Remarks
The InstanceCloseDelayDuration property indicates the duration for which the graceful close of a stateless instance is delayed. This would be effective when the instance is closing during the application/cluster upgrade and disabling node. The endpoint exposed on this instance is removed prior to starting the delay, which prevents new connections to this instance. In addition, clients that have subscribed to service endpoint change events can do the following upon receiving the endpoint removal notification: - Stop sending new requests to this instance - Close existing connections after in-flight requests have completed - Connect to a different instance of the service partition for future requests. Note, the default value of InstanceCloseDelayDuration is TimeSpan.Zero, which indicates that there won't be any delay or removal of the endpoint prior to closing the instance.
Applies to
Azure SDK for .NET