performance issues
[email protected] Tue, 19 Dec 2006 17:20:12 +0100
| Newsgroups | gmane.comp.java.enhydra.shark |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format... ------------=_1166545225-30011-218 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I am facing the problem of very slow response from shark when getting information about process and activities. my code is: WfAssignment assignment=connection.getResourceObject().get_sequence_work_item(0); WfActivity activity = assignment.activity(); activity.key()); activity.name()); WfProcess process = activity.container(); process.name()); adminMisc.getProcessMgrPkgId(process.manager().name())); adminMisc.getProcessCreatedTime(process.key()))); adminMisc.getActivityCreatedTime(process.key(),activity.key()))); DeadlineInfo[] deadlineInfos = deadlineAdministration.getDeadlineInfo(process.key(), activity.key()); this part of code takes about 545 Milli seconds each time i call that code. in fact i need to call that code for each activity assigned to a user, so for example if the user have 20 activities approximately the time taken in getting those information is about 10 seconds for each user which is not acceptable at all so am asking if their is a way to enhance the performance of that code or any sort of shark configuration available to enhance the shark performance. regards Ramy ------------=_1166545225-30011-218 Content-Type: text/plain; name="message-footer.txt" Content-Disposition: inline; filename="message-footer.txt" Content-Transfer-Encoding: 8bit -- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws ------------=_1166545225-30011-218--