- April 30, 2016 at 4:48 pm #11206Himanshu #347
What are limits of batch class when we use Queuable Salesforce Apex?
What are limits of batch class when we use Queuable Salesforce Apex?June 10, 2016 at 5:14 am #12901Surbhi #353
Below are the limits of queueable apex:
- The execution of a queued job count as one against the shared limit for asynchronous Apex method executions.
- You can add up to 50 jobs to the queue with System.enqueueJob in a single transaction.
- No limit is enforced on the depth of chained jobs, which means that you can chain one job to another job and repeat this process.
ThanksSeptember 30, 2018 at 3:18 am #41355Avnish Yadav #3
Queueable Interface methods and Future methods are Asynchronous Apex Processes that add jobs to the job queue and each job runs when system resources become available, so it doesn’t delay the execution of the main Apex logic. They also share a benefit of having some higher governor limits than synchronous Apex, such as heap size limits (12 MB), number of SOQL queries issued (200) and Maximum CPU time on the Salesforce servers (60k ms). But the Queueable interface methods are a step up from the future methods because they also come with these additional benefits (according to Salesforce release notes):
Please Register to reply to this topic. /