org.infinispan.transaction.xa.recovery
Class RecoveryInfoKey
java.lang.Object
org.infinispan.transaction.xa.recovery.RecoveryInfoKey
public final class RecoveryInfoKey
- extends Object
This makes sure that only xids pertaining to a certain cache are being returned when needed. This is required as the
RecoveryManagerImpl#preparedTransactions
is shared between different RecoveryManagers/caches.
- Since:
- 5.0
- Author:
- Mircea.Markus@jboss.com
RecoveryInfoKey
public RecoveryInfoKey(Xid xid,
String cacheName)
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
sameCacheName
public boolean sameCacheName(String cacheName)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.