Salesforce Development 15| Extension Controllers | Synchronous | Asynchronous | Batch Apex | Methods
Salesforce Realtime Training #Apex Session 15 Synchronous, Asynchronous Services, Batch Apex, Start Method, Execute Method, Finish Method, Extension Controllers by Swapna *********************************************************************** Notes #SynchronousAsynchronousServices Synchronous Services: line processing of a data (one after one) By deaful all actions and jobs are Synchronous Asynchronous services: Processing of a data parallely with availability of a resources 4 types of services available in Asynchronous Batch Apex Schedule Apex Future Apex Queueable Apex Batch Apex : Batch is a Asynchronous execution of Apex code, to process large data(bulk of data) overcome Governor limits. properties: Batch Apex must implement with interface called "Database.Batchable" Database.Batchable includes three methods Start() Execute() Finish() Maximum of 2,50,000 Batches can be processed with 24 hours license in your organization * 200 200 records (200*2,50,000 = 50 million ) Batch Apex structure **************************************************************************** Interview Question: #BatchApex 01.If there are 10 lakhs records, how many times does batch gets executed ? 02.In a Day, How many maximum batches can be processed ? 03.if there are 200 records , how many times execute method runs in batch? 04.Write skeleton structure of Batch class? 05.Write code to send an email using messaging.sendingemail? #ExtensionController 06.What is the Extension Controller? 07.Write Skeleton Structure of Constructor? ********************************************************************************* Assignment Implement Visualforce using Extension Controller to send single email to entered email in "To Address"
Download
0 formatsNo download links available.