On Thu, Sep 30, 2010 at 4:11 PM, sebb <seb...@gmail.com> wrote: > On 30 September 2010 12:06, James Carman <ja...@carmanconsulting.com> wrote: >> On Thu, Sep 30, 2010 at 7:01 AM, sebb <seb...@gmail.com> wrote: >>> >>> OK. >>> >>> So how about allowing the user to pass in an Executor when creating >>> the instance? >>> Would that be sufficient? >>> >> >> KISS. Why add complexity here if it's not needed? Leaving it as a >> Runnable allows the user to choose how to run it. > > I'm am trying to KIS for the user. > > The more internal implementation details are exposed, the harder it is > to make any changes later.
But keeping it simple here means leaving out any thread stuff and leaving it as a simple Runnable implementation. The more you include and hide, the more you reduce flexibility. Niall --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org