Skip to Content
Mastering Apex Programming - Second Edition
book

Mastering Apex Programming - Second Edition

by Paul Battisson
November 2023
Intermediate to advanced content levelIntermediate to advanced
394 pages
10h 14m
English
Packt Publishing
Content preview from Mastering Apex Programming - Second Edition

8

Working with Batch Apex

In Chapter 7, Utilizing Future Methods, we reviewed how we can utilize future methods to process data in different transactions to avoid issues such as mixed DML errors and make long-running callouts. Future methods are still constrained by governor limits, which, while slightly more generous than the standard framework, still do not allow the large-scale processing of data.

In this chapter, we are going to discuss Batch Apex, a tool within the Apex language designed specifically to allow us to process large volumes of data asynchronously.

In this chapter, we are going to learn about the following topics:

  • When to use Batch Apex
  • Defining Batch Apex
  • Invoking Batch Apex
  • Monitoring Batch Apex
  • Exception handling and platform ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Apex Programming

Mastering Apex Programming

Paul Battisson
Learning Apex Programming

Learning Apex Programming

Matthew Kaufman, Michael Wicherski
MuleSoft for Salesforce Developers - Second Edition

MuleSoft for Salesforce Developers - Second Edition

Akshata Sawant, Arul Christhuraj Alphonse
Salesforce for Beginners - Second Edition

Salesforce for Beginners - Second Edition

Sharif Shaalan, Timothy Royer

Publisher Resources

ISBN: 9781837638352