发明名称 Mechanism for evaluating requests prior to disposition in a multi-threaded environment
摘要 A mechanism is provided for enabling a request to be evaluated prior to the request being disposed. Particularly, an evaluation function is associated with a thread pool. Whenever a thread is to be assigned from that thread pool, the evaluation function may be invoked. The evaluation function may be invoked in response to one or more conditions being satisfied, or it may be invoked each time a thread is needed from that thread pool. When invoked, the evaluation function performs an evaluation on the request. Based upon the evaluation, the evaluation function may take one or more actions. For example, if the evaluation function determines that the request is a high priority request, then it may ensure that the request will be processed regardless of system workload. The evaluation function is user specifiable; thus, it may be programmed to perform any desired operations, and to take any desired considerations and factors into account. Overall, the evaluation function gives a user great freedom in determining how to dispose of a request.
申请公布号 US6895584(B1) 申请公布日期 2005.05.17
申请号 US20000573696 申请日期 2000.05.19
申请人 SUN MICROSYSTEMS, INC. 发明人 BELKIN RUSLAN
分类号 G06F9/46;(IPC1-7):G06F9/46 主分类号 G06F9/46
代理机构 代理人
主权项
地址