Please enable JavaScript.
Coggle requires JavaScript to display documents.
Asynchronous - Coggle Diagram
Asynchronous
Batch
Limit
50,000,000 query record
250,000 method execute (start, execute, finish)
Future method cannot be called
Stateful
static log
Test
test 1 execute
BatchableContext
finish -> getJobId
Database.AllowCallout
Http/webservice
Queueable
Limit
50 job 1 transaction
5 chain job
Queuable Context
ctx.getJobId()
Monitoring
Setup
Scheduled Apex
Apex Job(include future)
Object
CronTrigger
AsyncApexJob
Test
Test.isRunningTest
FinalizerContext
Job Result
JobId
Exception
Schedulable
limit
100 per day
250,000 method per day
cannot callout, bypass by using batch
Test
start/stopTest
Futute