Package org.infinispan.transaction.impl
Interface TransactionOriginatorChecker
- All Known Implementing Classes:
ClusteredTransactionOriginatorChecker
,ServerTransactionOriginatorChecker
public interface TransactionOriginatorChecker
An interface to check if the transaction originator is left or not.
- Since:
- 9.1
- Author:
- Pedro Ruivo
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TransactionOriginatorChecker
A Local mode implementation. -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
isOriginatorMissing
(GlobalTransaction gtx, Collection<Address> liveMembers)
-
Field Details
-
LOCAL
A Local mode implementation.
-
-
Method Details
-
isOriginatorMissing
- Returns:
true
if the member who executedgtx
is missing.
-
isOriginatorMissing
- Returns:
true
if the member who executedgtx
is missing using theliveMembers
.
-