| Interface | Description |
|---|---|
| BalanceFreezer |
Interface which will be used in SBC for account freeze and unfreeze tasks.
|
| Class | Description |
|---|---|
| BalanceManager |
Manages balance information for all clients presents in mysql
BalanceManager.CLIENT_BALANCE_TABLE table. |
| LeaseDTO |
This class is responsible for caching balance, taking advanced loan from mysql, giving lease when needed,
syncing the balance information between mysql and redis cluster
|
| LeaseResponse |
This class is used for returning multiple value for a lease request.
|
| MysqlBalanceUpdater |
Updates client balance in mysql periodically
|
| Test |
Copyright © 2022. All rights reserved.