Uploaded image for project: 'Commons Sandbox'
  1. Commons Sandbox
  2. SANDBOX-133

[pipeline] Numerous changes and updates for Java 1.5

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Pipeline
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Bugzilla Id:
      32299

      Description

      After some new use cases arose that I wasn't properly able to handle under my
      initial contributed version of commons-pipeline, I've done a substantial rewrite
      and added a "hello world" unit test to serve as an example of how to use the
      library.

      The primary intent of this rewrite is to remove the necessessity for classes
      implementing StageHandler to extend a particular StageQueue implementation. It
      also updates the package to be Java 1.5-centric, with the hope that future
      updates can more readily use some of the new stuff in java.util.concurrent.
      The StageQueue and StageHandler interfaces have been aggregated into the
      abstract class Stage, and a new class, StageDriver, allows different threading
      models and failure tolerance policies to be applied to Stage implementations.
      Overall, it should be significantly cleaner.

      I am submitting these changes through bugzilla because I don't yet have
      committer permissions in the sandbox.

      Due to the changes, and the youth of this project, there are some source files
      that should be removed from the cvs repository as they're incompatible with the
      API changes. These are:

      src/java/org/apache/commons/pipeline/StageHandler.java
      src/java/org/apache/commons/pipeline/StageQueue.java
      src/java/org/apache/commons/pipeline/config/PipelineFactory.java
      src/java/org/apache/commons/pipeline/impl/SingleThreadStageQueue.java

      New and changed source files and test resources will be attached to this ticket.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kris.nuttycombe@noaa.gov Kris Nuttycombe

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment