I suppose I wouldn't mind seeing the patch to see what you did. Mostly I wonder if you ended up making a way to adjust the strategy instance, but only have it happen locally.
-----Original Message----- From: tc-dev-boun...@lists.terracotta.org [mailto:tc-dev-boun...@lists.terracotta.org] On Behalf Of Sergio Bossa Sent: Sunday, November 28, 2010 10:18 PM To: tc-dev Subject: Re: [tc-dev] Custom lock strategy No worries, resolved by patching the toolkit in order to provide a way to set the strategy. Let me know if interested to the patch. Cheers, Sergio B. Sergio Bossa Sent by iPhone Il giorno 26/nov/2010, alle ore 17:17, Sergio Bossa <sergio.bo...@gmail.com> ha scritto: > Hi guys, > > is there a way to use a custom lock strategy with > ConcurrentDistributedMap instances created through the toolkit? > > The toolkit #getMap() method doesn't accept any argument, so I had to > manually instantiate a ConcurrentDistributedMap by hooking into the > clustered class loader. > But still, I can't inject a custom lock strategy, only predefined > ones, complaining about my strategy being non portable. > Is there something I'm missing? > > Thanks, > Cheers! > > Sergio B. > > -- > Sergio Bossa > http://www.linkedin.com/in/sergiob _______________________________________________ tc-dev mailing list tc-dev@lists.terracotta.org http://lists.terracotta.org/mailman/listinfo/tc-dev _______________________________________________ tc-dev mailing list tc-dev@lists.terracotta.org http://lists.terracotta.org/mailman/listinfo/tc-dev