HEX
Server: Apache
System: Linux dinesh8189 5.15.98-grsec-sharedvalley-2.lc.el8.x86_64 #1 SMP Thu Mar 9 09:07:30 -03 2023 x86_64
User: cgmgerenciamento1 (814285)
PHP: 8.1.26
Disabled: apache_child_terminate,dl,escapeshellarg,escapeshellcmd,exec,link,mail,openlog,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,php_check_syntax,php_strip_whitespace,popen,proc_close,proc_open,shell_exec,symlink,system
Upload Files
File: //lib/python3.6/site-packages/tuned/monitors/__pycache__/repository.cpython-36.pyc
3

�<�e?�@s@ddlZddlZddlmZejj�ZdgZGdd�de�Z	dS)�N)�PluginLoader�
Repositorycs@eZdZ�fdd�Zedd��Zdd�Zdd�Zd	d
�Z�Z	S)rcstt|�j�t�|_dS)N)�superr�__init__�set�	_monitors)�self)�	__class__�� /usr/lib/python3.6/repository.pyrszRepository.__init__cCs|jS)N)r)rr
r
r�monitorsszRepository.monitorscCsd|_d|_tjj|_dS)Nztuned.monitorsZmonitor_)Z
_namespace�_prefix�tunedrZMonitor�
_interface)rr
r
r�_set_loader_parameterssz!Repository._set_loader_parameterscCs0tjd|�|j|�}||�}|jj|�|S)Nzcreating monitor %s)�log�debugZload_pluginr�add)rZplugin_nameZdevicesZmonitor_clsZmonitor_instancer
r
r�creates

zRepository.createcCs(t||j�st�|j�|jj|�dS)N)�
isinstancer�AssertionErrorZcleanupr�remove)rZmonitorr
r
r�deleteszRepository.delete)
�__name__�
__module__�__qualname__r�propertyrrrr�
__classcell__r
r
)r	rr	s
)
Z
tuned.logsrZtuned.monitorsZtuned.utils.plugin_loaderrZlogs�getr�__all__rr
r
r
r�<module>s