xrootdlib.streams.XrdXrootdMon.map module

exception MapInfoError

Bases: Exception

An item was not in the map store

class MapInfoStore

Bases: object

digest_map(stod: int, map_struct: xrootdlib.structs.XrdXrootdMon.Map)

Digest map data from a packet

free_path(stod: int, dictid: int) → None
free_user(stod: int, dictid: int) → None
get_path(stod: int, dictid: int) → xrootdlib.streams.XrdXrootdMon.map.PathAccessInfo
get_server(stod: int, sid: int) → xrootdlib.streams.XrdXrootdMon.map.ServerInfo
get_user(stod: int, dictid: int) → xrootdlib.streams.XrdXrootdMon.map.UserInfo
class MapInfoStoreCleaner(store: xrootdlib.streams.XrdXrootdMon.map.MapInfoStore, clean_delay: int = 30)

Bases: threading.Thread

add_deletion(instruction, *args, **kwargs)
run()

Method representing the thread’s activity.

You may override this method in a subclass. The standard run() method invokes the callable object passed to the object’s constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.

class PathAccessInfo(user_id: xrootdlib.structs.XrdXrootdMon.map.UserId, server_info: xrootdlib.streams.XrdXrootdMon.map.ServerInfo, path_info: xrootdlib.structs.XrdXrootdMon.map.Path)

Bases: object

auth_info = None
host
path
pid
protocol
server
user
class ServerInfo(user_id: xrootdlib.structs.XrdXrootdMon.map.UserId, server_info: xrootdlib.structs.XrdXrootdMon.map.SrvInfo)

Bases: object

host
instance
pid
port
program
protocol
sid
site
user
version
class UserInfo(user_id: xrootdlib.structs.XrdXrootdMon.map.UserId, server_info: xrootdlib.streams.XrdXrootdMon.map.ServerInfo, auth_info: xrootdlib.structs.XrdXrootdMon.map.AuthInfo = None)

Bases: object

auth_info
host
pid
protocol
server
user