I find this really useful sometimes. for example when we did the Geocoding of Australian Postcodes I chucked in a sleep thread to the loop so that we wouldn’t hammer google and get banned from running any more geocoding requests. This uses the java.lang.Thread method to pause or sleep the currently running thread.
So first we create the object in ColdFusion using the createObject() tag. Then use the .sleep method that is available on a thread object to ask it to sleep for a period of milliseconds we pass in.