RTC Forums
November 24, 2024, 01:57:54 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Login
Register
RTC Forums
>
Subscription
>
Support
>
Quickjob Queue Count
Pages: [
1
]
« previous
next »
Print
Author
Topic: Quickjob Queue Count (Read 4867 times)
HelgeLange
RTC Expired
Posts: 100
Quickjob Queue Count
«
on:
June 10, 2016, 04:33:32 PM »
Hi Danijel,
is there a way to know if a QuickJob component still has something in its queue ?
I have a job that executes every 5 seconds. Of course I can put a serialized job but if for some reason the job needs more than 5 seconds, i'd like to skip the current step and wait another 5 seconds.
Helge
Logged
D.Tkalcec (RTC)
Administrator
Posts: 1881
Re: Quickjob Queue Count
«
Reply #1 on:
June 10, 2016, 04:57:44 PM »
Sorry, but ... unless you write you own code to keep track of your "jobs", there is no way of telling how many jobs are in a "queue", simply because each call to the Post method on the TRtcQuickJob component (with Serialized=False) creates a new virtual thread for that specific job and the virtual thread is automatically released when the job finishes.
Best Regards,
Danijel Tkalcec
Logged
HelgeLange
RTC Expired
Posts: 100
Re: Quickjob Queue Count
«
Reply #2 on:
June 10, 2016, 06:09:16 PM »
And for serialized jobs ?
Logged
D.Tkalcec (RTC)
Administrator
Posts: 1881
Re: Quickjob Queue Count
«
Reply #3 on:
June 10, 2016, 07:37:29 PM »
Download RealThinClient SDK
v7.21
(just uploaded) and you will see 3 new methods on the
TRtcQuickJob
component, giving you basic information about the current job status when using the component with
Serialized=True
.
Best Regards,
Danijel Tkalcec
Logged
HelgeLange
RTC Expired
Posts: 100
Re: Quickjob Queue Count
«
Reply #4 on:
June 10, 2016, 09:34:03 PM »
thanks, godlike! That's support
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Dashboard
-----------------------------
=> General
=> 3rd-Party
=> Quick Start
-----------------------------
Subscription
-----------------------------
=> Support
Loading...