Project Home • Wiki • Known Issues • External Project Link • Contact Project
CFConcurrent simplifies the use of the Java Concurrency Framework in ColdFusion applications.
CFConcurrent runs on CF10+.
CFConcurrent is not safe for use on CF9: https://bugbase.adobe.com/index.cfm?event=bug&id=3419777
Although CFThread is suitable for management-free fire-and-forget concurrency, robust production applications require higher-level abstractions and a greater degree of control. The Java Concurrency Framework (JCF) provides such improvements, and you can take advantage of it using 100% CFML.
You create CFCs that act as 'tasks' that return results. You submit those tasks to the JCF for execution. You can then retrieve the execution results immediately when they are available, or you can create a periodic 'polling' task which processes the completed results.
In addition, you can easily create cancelable, pausable scheduled tasks directly in your code (think: heartbeats, daemons), freeing you from the 1-minute limitation of ColdFusion's scheduled task implementation.
CFConcurrent's goals are:
--Simplify Java object and proxy creation
--Expose common patterns as generic services
--Expose extensible base components
--Do not over-reach
--Limit protectionist tendencies
CFConcurrent is not a 'wrapper' library, nor does it hide the Java Concurrency Framework from you.
Removing compatibility with ColdFusion 9
This project has an external bug tracker. You can find it here:
Adobe and the Adobe product names are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries.