| Package | Description |
|---|---|
| com.reve.balancemanager | |
| com.reve.balancemanager.impl | |
| com.reve.balancemanager.lease |
| Modifier and Type | Method and Description |
|---|---|
LeaseDTO |
BalanceManager.getLeaseDTO(long accountID)
Get the instance of
LeaseDTO mapped with the given account id. |
| Modifier and Type | Method and Description |
|---|---|
void |
BalanceManager.getBalanceToSync(List<LeaseDTO> list,
boolean syncAll)
Get all the instances of
LeaseDTO those needed to be synced. |
| Modifier and Type | Class and Description |
|---|---|
class |
LeaseDTOImpl
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
|
| Modifier and Type | Method and Description |
|---|---|
LeaseDTO |
RedisLoader.call() |
static LeaseDTO |
LeaseDTO.getInstance() |
LeaseDTO |
RedisCallDTO.getLeaseDTO() |
| Modifier and Type | Method and Description |
|---|---|
void |
RedisCallDTO.setLeaseDTO(LeaseDTO leaseDTO) |
| Constructor and Description |
|---|
RedisCallDTO(LeaseDTO leaseDTO,
double amount)
Constructor
|
RedisCallDTO(LeaseDTO leaseDTO,
RedisCallType type)
constructor
|
ShutdownCaller(LeaseDTO leaseDTO,
boolean returnLease)
Create an instance of
ShutdownCaller |
Copyright © 2024. All rights reserved.