| Constructor and Description |
|---|
Mitigator(BalanceManager balanceManager,
long accountID,
Double balance,
Double credit)
Constructor specifying the account for which this thread will be called and under which mitigator this thread
will work
|
| Modifier and Type | Method and Description |
|---|---|
void |
addActiveBalanceManagerID(String balanceManagerID) |
void |
addBMToACKSet(String BMIdentifier) |
void |
addBMToFrozenSet(String BMIdentifier) |
void |
addBMToUnfrozenSet(String BMIdentifier) |
Boolean |
call() |
public Mitigator(BalanceManager balanceManager, long accountID, Double balance, Double credit)
accountID - the account for which balance sync between MySQL and Redis will happenbalanceManager - BalanceMitigator reference for mitigatorpublic void addBMToACKSet(String BMIdentifier)
public void addBMToFrozenSet(String BMIdentifier)
public void addBMToUnfrozenSet(String BMIdentifier)
public void addActiveBalanceManagerID(String balanceManagerID)
Copyright © 2022. All rights reserved.