Which TWO interfaces must be implemented when creating a scheduled Batch Apex class that also needs to perform web service callouts? (Choose two.)
Trap 1: Queueable
Queueable is a separate asynchronous interface.
Trap 2: InstallHandler
InstallHandler is for managed package post-install scripts.
- A
Database.Batchable<SObject>
Database.Batchable is required for batch processing.
- B
Queueable
Why wrong: Queueable is a separate asynchronous interface.
- C
InstallHandler
Why wrong: InstallHandler is for managed package post-install scripts.
- D
Schedulable
Schedulable is required to schedule the job via cron.
- E
Database.AllowsCallouts
Database.AllowsCallouts is required to permit HTTP web service callouts in batch execute methods.