Noel,

> So I'll go you one further.  Why not establish that calling
> LinearProcessor.add(Matcher,Mailet) after calling
> LinearProcessor.service()
> results in an exception?

Because we have to track (and deal with the synchronization of)
additional state.  That is, we'd need to add a volatile boolean that
service updates every time it gets called.  We'd have to have add check
that boolean on every call and throw an exception if its true.  This is
all to produce a class with less functionality than synchronizing the
add method.  In short, it's a lot of effort for no real gain.

--Peter 



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to