Login

    Register

Managed Hosting

PROJECT CATEGORIES

 

CFConcurrent
Project Home Wiki Known Issues External Project Link Contact Project

Author: Marc Esher (All RIAForge projects by this author)
Last Updated: December 11, 2012 4:49 AM
Version: 1.0
Views: 8,348
Downloads: 371
License: MIT

Description:

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.

Last Update:

Removing compatibility with ColdFusion 9

Requirements:

ColdFusion 9+

Issue Tracker:

This project has an external bug tracker. You can find it here:
https://github.com/marcesher/cfconcurrent/issues