Package org.infinispan.server.hotrod.tx
Class ServerTransactionOriginatorChecker
java.lang.Object
org.infinispan.server.hotrod.tx.ServerTransactionOriginatorChecker
- All Implemented Interfaces:
TransactionOriginatorChecker
public class ServerTransactionOriginatorChecker
extends Object
implements TransactionOriginatorChecker
A
TransactionOriginatorChecker
implementation that is aware of client transactions.
The transaction originator in this case is the Hot Rod client.
- Since:
- 9.1
- Author:
- Pedro Ruivo
-
Field Summary
Fields inherited from interface org.infinispan.transaction.impl.TransactionOriginatorChecker
LOCAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
isOriginatorMissing
(GlobalTransaction gtx, Collection<Address> liveMembers)
-
Constructor Details
-
ServerTransactionOriginatorChecker
public ServerTransactionOriginatorChecker()
-
-
Method Details
-
isOriginatorMissing
- Specified by:
isOriginatorMissing
in interfaceTransactionOriginatorChecker
- Returns:
true
if the member who executedgtx
is missing.
-
isOriginatorMissing
- Specified by:
isOriginatorMissing
in interfaceTransactionOriginatorChecker
- Returns:
true
if the member who executedgtx
is missing using theliveMembers
.
-