We already discussed complete details about the future class. If you want to directly look into this post check the below 2 posts to understand.
Future class Basics and limitations: Click Here
Where / When to use Future Class: Click Here
Below are the disadvantages of using Future class :
- We cannot monitor the Jobs.
- we cannot call a future from another future or batch apex.
- The limit on future methods for single apex invocation is 50.
- The future method supports only primitive datatypes
- Salesforce’s Future class is not able to roll back.
- The Future class allows you to run code asynchronously in a separate thread, which can be useful for long-running or resource-intensive operations. However, because the Future class runs in a separate thread, it cannot be rolled back by the platform’s transaction management system.
To overcome from above disadvantages salesforce came up with Queueable apex.
