[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    [jira] Updated: (SANDBOX-325) Contributed stages from Mark Southern
From:       "Ken Tanaka (JIRA)" <jira () apache ! org>
Date:       2010-06-29 18:22:50
Message-ID: 20064986.119551277835770233.JavaMail.jira () thor
[Download RAW message or body]


     [ https://issues.apache.org/jira/browse/SANDBOX-325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

Ken Tanaka updated SANDBOX-325:
-------------------------------

    Attachment: GroupStage.java
                UngroupStage.java
                CommitStage.java

code submission of GroupStage.java, UngroupStage.java, CommitStage.java

> Contributed stages from Mark Southern
> -------------------------------------
> 
> Key: SANDBOX-325
> URL: https://issues.apache.org/jira/browse/SANDBOX-325
> Project: Commons Sandbox
> Issue Type: New Feature
> Components: Pipeline
> Reporter: Ken Tanaka
> Attachments: CommitStage.java, GroupStage.java, SessionStage.java, \
> UngroupStage.java 
> 
> Some stages were submitted. I'm not sure where they should go. Maybe SessionStage \
> and CommitStage could go under package \
> org.apache.commons.pipeline.stage.contrib.hibernate; and GroupStage and \
> UngroupStage could go into package org.apache.commons.pipeline.stage.contrib;
> I've looked over the code but haven't run these yet. These are here so people can \
> work with them and comment on improvements and how to add them to the pipeline \
> codebase. Mark Southern wrote:
> > I've had a chance to use Commons Pipeline recently and I'm a fan  :-) . I \
> > wondered if I might contribute back a few Stages that I've written? The first two \
> > have dependencies on commons-collections and the last two on Hibernate. Maybe \
> > they could go into a user-contrib project?  
> > GroupStage:      Add single objects to an ArrayList. Emits at a predetermined \
> >                 size.
> > UngroupStage: Emit single objects by iterating over an Iterable, Iterator, Array \
> >                 or single object.
> > SessionStage:    Ensures that each Thread operating on a Stage gets its own \
> >                 Hibernate session.
> > CommitStage:   Calls Session.save on each Hibernate object and commits with a \
> > predefined frequency. 
> > Best regards,
> > ~Mark.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic