Handle Class
Represents a file handle.
- Inheritance
-
builtins.objectHandle
Constructor
Handle(handle_id=None, path=None, file_id=None, parent_id=None, session_id=None, client_ip=None, open_time=None, last_reconnect_time=None)
Parameters
Name | Description |
---|---|
handle_id
|
Default value: None
|
path
|
Default value: None
|
file_id
|
Default value: None
|
parent_id
|
Default value: None
|
session_id
|
Default value: None
|
client_ip
|
Default value: None
|
open_time
|
Default value: None
|
last_reconnect_time
|
Default value: None
|
Variables
Name | Description |
---|---|
handle_id
|
Used to identify handle. |
path
|
Used to identify the name of the object for which the handle is open. |
file_id
|
Uniquely identifies the file. This is useful when renames are happening as the file ID does not change. |
parent_id
|
Uniquely identifies the parent directory. This is useful when renames are happening as the parent ID does not change. |
session_id
|
Session ID in context of which the file handle was opened. |
client_ip
|
Used to identify client that has opened the handle. The field is included only if client IP is known by the service. |
open_time
|
Used to decide if handle may have been leaked. |
last_reconnect_time
|
Used to decide if handle was reopened after client/server disconnect due to networking or other faults. The field is included only if disconnect event occurred and handle was reopened. |
Azure SDK for Python