Class CacheXid
java.lang.Object
org.infinispan.server.hotrod.tx.table.CacheXid
A key used in the global transaction table.
The global transaction table is a replicated cache. This key contains the cache name and the transactions' XidImpl.
- Since:
- 9.1
- Author:
- Pedro Ruivo
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.infinispan.commons.marshall.AdvancedExternalizer<CacheXid> -
Constructor Summary
ConstructorsConstructorDescriptionCacheXid(org.infinispan.util.ByteString cacheName, org.infinispan.commons.tx.XidImpl xid) -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.infinispan.util.ByteStringorg.infinispan.commons.tx.XidImplgetXid()inthashCode()static CacheXidreadFrom(ObjectInput input) booleansameXid(org.infinispan.commons.tx.XidImpl other) toString()static voidwriteTo(ObjectOutput output, CacheXid object)
-
Field Details
-
EXTERNALIZER
-
-
Constructor Details
-
CacheXid
public CacheXid(org.infinispan.util.ByteString cacheName, org.infinispan.commons.tx.XidImpl xid)
-
-
Method Details
-
sameXid
public boolean sameXid(org.infinispan.commons.tx.XidImpl other) -
writeTo
- Throws:
IOException
-
readFrom
- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
toString
-
getCacheName
public org.infinispan.util.ByteString getCacheName() -
getXid
public org.infinispan.commons.tx.XidImpl getXid()
-