| Package | Description |
|---|---|
| com.reve.balancemanager.lease | |
| com.reve.balancemanager.mitigation | |
| com.reve.balancemanager.pubsub |
| Modifier and Type | Method and Description |
|---|---|
void |
LeaseDTO.updateUnSyncedInformation(BalanceManager balanceManager)
When slave has taken over as master.
|
void |
LeaseDTO.updateUnSyncedInformation(BalanceManager balanceManager)
When slave has taken over as master.
|
| Constructor and Description |
|---|
LeaseDTO(long accountId,
BalanceManager balanceManager)
Create a
LeaseDTO instance for the given account id |
LeaseDTO(long accountId,
BalanceManager balanceManager)
Create a
LeaseDTO instance for the given account id |
LeaseDTO(long accountId,
double availableLocalBalance,
BalanceManager balanceManager)
This constructor is useful when take-over is happening.
|
LeaseDTO(long accountId,
double availableLocalBalance,
BalanceManager balanceManager)
This constructor is useful when take-over is happening.
|
| 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
|
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
|
| Constructor and Description |
|---|
PubSubSubscriber(BalanceManager balanceManager,
redis.clients.jedis.JedisCluster jedisCluster,
String[] channels)
Create an instance of
Runnable to subscribe on the given channels. |
PubSubSubscriber(BalanceManager balanceManager,
redis.clients.jedis.JedisCluster jedisCluster,
String[] channels)
Create an instance of
Runnable to subscribe on the given channels. |
Copyright © 2022. All rights reserved.