public class ClusteredTransactionOriginatorChecker extends Object implements TransactionOriginatorChecker
TransactionOriginatorChecker
implementation for clustered caches.
It uses the current topology to fetch the live members to check if the transaction's originator is alive.
LOCAL
Constructor and Description |
---|
ClusteredTransactionOriginatorChecker() |
Modifier and Type | Method and Description |
---|---|
boolean |
isOriginatorMissing(GlobalTransaction gtx) |
boolean |
isOriginatorMissing(GlobalTransaction gtx,
Collection<Address> liveMembers) |
public ClusteredTransactionOriginatorChecker()
public boolean isOriginatorMissing(GlobalTransaction gtx)
isOriginatorMissing
in interface TransactionOriginatorChecker
true
if the member who executed gtx
is missing.public boolean isOriginatorMissing(GlobalTransaction gtx, Collection<Address> liveMembers)
isOriginatorMissing
in interface TransactionOriginatorChecker
true
if the member who executed gtx
is missing using the liveMembers
.Copyright © 2021 JBoss by Red Hat. All rights reserved.