Class RecoveryInfoKey
- java.lang.Object
-
- org.infinispan.transaction.xa.recovery.RecoveryInfoKey
-
public final class RecoveryInfoKey extends java.lang.ObjectThis makes sure that only xids pertaining to a certain cache are being returned when needed. This is required as theRecoveryManagerImpl#preparedTransactionsis shared between different RecoveryManagers/caches.- Since:
- 5.0
- Author:
- Mircea.Markus@jboss.com
-
-
Constructor Summary
Constructors Constructor Description RecoveryInfoKey(javax.transaction.xa.Xid xid, java.lang.String cacheName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()booleansameCacheName(java.lang.String cacheName)java.lang.StringtoString()
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
sameCacheName
public boolean sameCacheName(java.lang.String cacheName)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-