Methods
Instance Methods
schedulerContextName()
→ str
Returns the name of the graph context of the scheduler associated with the service.
schedulerName()
→ str
Returns the name of the scheduler associated with the service.
setScheduler(name, context_name)
Stores the name of the scheduler instance and its graph context associated with the service, which is used to stop and start the service.
auto_start
: bool
Property
Indicates if the service should be automatically started on the first PDG graph cook where the service is used (if the service is not already running).
client_logging_dir
: str
Property
The directory where logfiles will be written by client instances.
command
: str
Property
The command line arguments that the PDG service manager will use to start client instances of the service.
data
: object
Property
An object
containing information that the pdg.SchedulerType
associated with the registered service needs to start and stop the service.
isInternal
: bool
Property
Indicates whether the service is internal to PDG. Internal services are not available for the user to configure.
mqClientName
: str
Property
Stores the client name that the service has used to register with the MQ server.
mqPort
: int
Property
Stores the port that the MQ server associated with the service is using.
mqserver_log_dir
: str
Property
The directory where the log of the MQ server created for the service will be written to.
mqserver_log_level
: int
Property
The logging level of the MQ server that is created for the service.
(0 = None, 1 = Errors, 2 = Warnings, 3 = All)
mqUrl
: str
Property
Stores the URL of the MQ server that the service is using.
name
: str
Property
The name of the service.
owner
: pdg.serviceOwner
Property
Indicates whether the service is owned by a scheduler node or the Houdini session.
pool_size
: int
Property
The number of clients available in the service pool.
port
: int
Property
The port that the service will use.
state
: pdg.serviceState
Property
Indicates the state of the service (stopped, starting, running).