TransformationAgent

TransformationAgent processes transformations found in the transformation database.

class DIRAC.TransformationSystem.Agent.TransformationAgent.TransformationAgent(*args, **kwargs)

Bases: DIRAC.Core.Base.AgentModule.AgentModule, DIRAC.TransformationSystem.Agent.TransformationAgentsUtilities.TransformationAgentsUtilities

Usually subclass of AgentModule

__init__(*args, **kwargs)

c’tor

am_Enabled()
am_checkStopAgentFile()
am_createStopAgentFile()
am_disableMonitoring()
am_getBasePath()
am_getControlDirectory()
am_getCyclesDone()
am_getMaxCycles()
am_getModuleParam(optionName)
am_getOption(optionName, defaultValue=None)
am_getPollingTime()
am_getShifterProxyLocation()
am_getStopAgentFile()
am_getWatchdogTime()
am_getWorkDirectory()
am_go()
am_initialize(*initArgs)
am_monitoringEnabled()
am_removeStopAgentFile()
am_secureCall(functor, args=(), name=False)
am_setModuleParam(optionName, value)
am_setOption(optionName, value)
am_stopExecution()
beginExecution()
endExecution()
execute()

Just puts transformations in the queue

finalize()

graceful finalization

getTransformations()

Obtain the transformations to be executed - this is executed at the start of every loop (it’s really the only real thing in the execute()

initialize()

standard initialize

pluginCallback(transID, invalidateCache=False)

Standard plugin callback

processTransformation(transDict, clients)

process a single transformation (in transDict)