RefresherBase

class DIRAC.ConfigurationSystem.private.RefresherBase.RefresherBase

Bases: object

Code factorisation for the refresher

__init__()
addListenerToNewVersionEvent(functor)
disable()

Disable the refresher and prevent any request to another server

enable()

Enable the refresher and authorize request to another server WARNING: It will not activate automatic updates, use autoRefreshAndPublish() for that

forceRefresh(fromMaster=False)

Force refresh WARNING: If refresher is disabled, force a refresh will do nothing

isEnabled()

Returns if you can use refresher or not, use automaticUpdateEnabled() to know if refresh is automatic.