On Mon, Nov 16, 2009 at 5:39 PM, Chris Dennis <cden...@terracottatech.com> wrote:
> I think I agree with Sergio here. By my reasoning if tryLock is going to > return false, then lock should block indefinitely. So lock being a no-op > and tryLock returning true, would seem to be the correct pairing. Exactly. > I have to > say I'm not so comfortable with the idea of throwing exceptions though! That was an extreme point :) If your point is correctness toward the client, though, exceptions are the only way IMHO. -- Sergio Bossa Software Passionate and Open Source Enthusiast. URL: http://www.linkedin.com/in/sergiob _______________________________________________ tc-dev mailing list tc-dev@lists.terracotta.org http://lists.terracotta.org/mailman/listinfo/tc-dev