Posted by Luis Majano
Sep 13, 2005 00:00:00 UTC
This snippet utilizes the power of java to create an execution sleep timer. There are various applications for this snippet, but the purpose of the snippet is to provide you with a mechanism of making the coldfusion thread sleep for a period of time. Please be careful when setting the timer variable since it might just lock the execution thread.
I have also included a copy-paste snippet of my actual CFC function.
The snippet is actually very simple:
<cfset thread = CreateObject("java", "java.lang.Thread")>