You need to sign in to do that
Don't have an account?
anvesh@force.com
@future,@istest?
@future if we use our code executes asynchroniously. ok good. but what is meant by asynchroniously executed. what happens to the code when we write @future and @istest. i am confuse. and what is mean by synchronious and asynchronious.
Hi,
@future, @isTest are the apex annotations which prefixed with @ symbol.
@future means the code executed asynchronously when salesforce resources are available.
@isTest is to specify the code writted is to cover other code and indicates taht the code Test Code,
For more information follow below link,
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_annotation.htm
All Answers
Hi,
@future, @isTest are the apex annotations which prefixed with @ symbol.
@future means the code executed asynchronously when salesforce resources are available.
@isTest is to specify the code writted is to cover other code and indicates taht the code Test Code,
For more information follow below link,
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_annotation.htm
As per your question here is difference between synchronious & asynchronious :
synchronious :
Here synchronious process will be performed with full surity in same thread. these do not depend any resources.
Asynchronious :
these type of processes depends on resources available on org.
thank you sandeep.really helpfull
Hi sandeep,
can you please provide me 1 simple example of @future method?