• #11206
    Salesforce | Himanshu Himanshu #347
    Forcetalks

    What are limits of batch class when we use Queuable Salesforce Apex?

    What are limits of batch class when we use Queuable Salesforce Apex?

     

    #12901
    Salesforce | Surbhi Surbhi #353
    Forcetalks

    Hi Himanshu,

    Below are the limits of queueable apex:

    1. The execution of a queued job count as one against the shared limit for asynchronous Apex method executions.
    2. You can add up to 50 jobs to the queue with System.enqueueJob in a single transaction.
    3. 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.

    Thanks

    #41355
    Forcetalks

    Hello,

    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):

    Thanks.

Viewing 3 posts - 1 through 3 (of 3 total)

Please to reply to this topic.

CONTACT US

We're not around right now. But you can send us an email and we'll get back to you, asap.

Sending

About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Copyright 2019 Forcetalks. All Right Reserved.

Log in with your credentials

or    

Forgot your details?