[infinispan-dev] JMX operations for recovery (ISPN-994)

Mircea Markus mircea.markus at jboss.com
Mon Apr 18 07:05:26 EDT 2011


On 18 Apr 2011, at 10:57, Manik Surtani wrote:

> How do you generate the Long internalID of an XID?  
I'va factorised the IdGenerator(now ClusterIdGenerator)  galder wrote for generating cluster-unique longs for HR's versioned operations.  
> 
> Another approach may be to take the byte[] (XID) and Base64 it.  Then you have a 1-to-1 mapping between the XID and a JMX-friendly String.  :-)  Or maybe an SHA1 hash of the byte[].
yes,that would work as well. A long is smaller and (not that matters a lot) cheaper to generate. 
> 
> 
> On 4 Apr 2011, at 12:46, Mircea Markus wrote:
> 
>> Hi,
>> 
>> After taking it with Jonathan here is the list of JMX operations I want to add for recovery: http://community.jboss.org/wiki/Transactionrecoverydesign#JMX_tooling_for_handling_in_doubt_transactions
>> Any feedback appreciated.
>> 
>> Cheers,
>> Mircea
>> 
>>  
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
> 
> --
> Manik Surtani
> manik at jboss.org
> twitter.com/maniksurtani
> 
> Lead, Infinispan
> http://www.infinispan.org
> 
> 
> 
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20110418/6e741077/attachment.html 


More information about the infinispan-dev mailing list