Handle class

Definition

Represents a file handle.

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)
Inheritance
builtins.object
Handle

Variables

handle_id
str
Used to identify handle.
path
str
Used to identify the name of the object for which the handle is open.
file_id
str
Uniquely identifies the file. This is useful when renames are happening as the file ID does not change.
parent_id
str
Uniquely identifies the parent directory. This is useful when renames are happening as the parent ID does not change.
session_id
str
Session ID in context of which the file handle was opened.
client_ip
str
Used to identify client that has opened the handle. The field is included only if client IP is known by the service.
open_time
datetime
Used to decide if handle may have been leaked.
last_reconnect_time
datetime
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.