You need to sign in to do that
Don't have an account?
SrikanthKuruva
Apex Callout
I have seen the following sentence in Force.com apex code developers guide.
"Use the future annotation to identify methods that are executed asynchronously.When you specify future, the method executes when Salesforce has available resources."
Can someone please elaborate on the phrase "available resources" please?
Hi Srikanth,
"Available Resources" means when SalesForce servers are not busy to handle requests.
Thanks,
Eswar.
for example if you are having a method with 2 params. suppose if you are accessing this method from one class and at the same time you need to call an another class and in that also using the same method..but the first call is in process the the method is not avaialble for you till the action is completed as it a deadlock situation. So if you can use future the when evr the resources available the it will execute with out fail. Hope you got the point