Hi again,
So there's the StandaloneClusteringProvider class that we've already mentioned
various times and which I really named out of the blue and lack of inspiration.
I personally don't like the name much for these reasons:
* Standalone doesn't really mean much in terms of naming for users, we've used
it internally for development of certain classes but there's no real definition
of what it is or should means
* StandaloneClusteringProvider is quite a mouthful and long, ideally you want
something shorter as your entry-point
So, let's look at this code sample:
ClusteringProvider clustering = new
StandaloneClusteringProvider("localhost:9510");
Barrier barrier = clustering.getBarrier("myBarrier", 2);
I kinda like this:
Toolkit toolkit = new ExpressToolkit("localhost:9510);
Barrier barrier = toolkit.getBarrier("myBarrier", 2);
Any other ideas?
Thanks,
Geert
--
Geert Bevin
Terracotta - http://www.terracotta.org
_______________________________________________
tc-dev mailing list
[email protected]
http://lists.terracotta.org/mailman/listinfo/tc-dev