Application Engine Program Types 应用引擎程序类型

文章详细描述了PeopleSoftProcessScheduler中的PSDAEMON和AEDAEMONMGR如何协作,以及它们如何分配进程实例,执行守护进程程序,包括支持并行非守护程序处理。着重强调了错误处理和周期循环设计。
摘要由CSDN通过智能技术生成

If a restart is not required, PSDAEMON assigns a new process instance and runs AEDAEMONMGR from the beginning. Because of this design,PeopleSoft Process Scheduler does not have to determine whether PSDAEMON exited due to an error or because it had reached the recycle count.

如果不需要重新启动,PSDAEMON将分配一个新的进程实例,并从头运行AEDAEMONMGR。由于这种设计,PeopleSoft进程调度程序不必确定PSDAEMON退出是由于错误还是因为它已达到回收计数。

AEDAEMONMGR uses the Daemon Group page value to get related daemon procedures from PS_DAEMONGROUP in order, and then it initiates each procedure. After all procedures have been executed, AEDAEMONMGR logs a sleep message and returns control to PSDAEMON. The sleep time is used only to log an informational message at the end of each cycle, for example, "Sleeping for Nminutes...." It also logs a message at the beginning of each cycle so that an administrator can monitor theruntime and sleep-time of a specific PSDAEMON process.

AEDAEMONMGR使用Daemon Group页面值按顺序从PS_DAEMONGROUP获取相关的守护进程过程,然后启动每个过程。执行所有过程后,AEDAEMONMGR记录一条睡眠消息,并将控制权返回给PSDAEMON。睡眠时间仅用于在每个周期结束时记录信息性消息,例如,“睡了N分钟。。。”它还在每个周期开始时记录一条消息,以便管理员可以监视特定PSDAEMON进程的运行时间和睡眠时间。

If an error occurs in AEDAEMONMGR, if the recycle count has been reached, or ifPSSERVERSTAT.DAEMONACTION = '1' (indicating that PeopleSoft Process Scheduler is idle),then PSDAEMON exits. Otherwise, it sleeps for the requested number of minutes and then calls AEDAEMONMGR again.

如果在AEDAEMONMGR中发生错误,如果已达到循环计数,或者如果PSSERVERSTAT.DAEMONACTION=‘1’(指示PeopleSoft Process Scheduler空闲),则PSDAEMON退出。否则,它将休眠请求的分钟数,然后再次调用AEDAEMONMGR。

Using PSDAEMON to Start Parallel Processing 使用PSDAEMON启动并行处理

Within a daemon group, programs are invoked sequentially and one program does not execute until the previous program has completed. The programs contained in a daemon group should be quick programs that scan information to find events. When an event is discovered, the daemon program can use the ProcessRequest class to invoke programs that are not of the daemon type. These non-daemon type Application Engine programs can execute in parallel. For that reason, do not include application-specific processing in a PSDAEMON type program.

在一个守护进程组中,程序是按顺序调用的,一个程序直到前一个程序完成才执行。守护程序组中包含的程序应该是扫描信息以查找事件的快速程序。当发现事件时,守护程序可以使用ProcessRequest类来调用不属于守护程序类型的程序。这些非守护程序类型的应用程序引擎程序可以并行执行。因此,不要在PSDAEMON类型的程序中包含特定于应用程序的处理。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值