Language

IdleConnectionHandler.CloseIdleConnections(Int64) Method

Definition

Removes connections registered at least the specified time ago and attempts to close them, logging I/O errors from close operations.

[Android.Runtime.Register("closeIdleConnections", "(J)V", "GetCloseIdleConnections_JHandler")]
public virtual void CloseIdleConnections(long idleTime);
[<Android.Runtime.Register("closeIdleConnections", "(J)V", "GetCloseIdleConnections_JHandler")>]
abstract member CloseIdleConnections : int64 -> unit
override this.CloseIdleConnections : int64 -> unit

Parameters

idleTime
Int64

The minimum elapsed time since registration, in milliseconds.

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to