Skip to content

Instantly share code, notes, and snippets.

@adeel
Created October 16, 2011 17:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adeel/b1b8561713cc5adf1611 to your computer and use it in GitHub Desktop.
Save adeel/b1b8561713cc5adf1611 to your computer and use it in GitHub Desktop.
=> (default-pool)
#<ScheduledThreadPoolExecutor java.util.concurrent.ScheduledThreadPoolExecutor@3ca1d92a>
=> (.schedule (default-pool) (fn [] (println "hi")) 5, TimeUnit/SECONDS)
java.lang.IllegalArgumentException: No matching method found: schedule for class java.util.concurrent.ScheduledThreadPoolExecutor (NO_SOURCE_FILE:0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment