| Package | Description |
|---|---|
| com.reve.balancemanager | |
| com.reve.balancemanager.impl | |
| com.reve.balancemanager.lease | |
| com.reve.balancemanager.mitigation | |
| com.reve.balancemanager.pubsub |
| Constructor and Description |
|---|
MysqlBalanceUpdater(boolean redundancy,
BalanceManager balanceManager)
Create the instance
|
MysqlBalanceUpdater(boolean redundancy,
BalanceManager balanceManager)
Create the instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
MitigatorImpl.init(BalanceManager balanceManager,
long accountID,
Double balance,
Double credit)
Initialize the instance specifying the account for which this thread will be called and under which mitigator
this thread will work
|
void |
MitigatorImpl.init(BalanceManager balanceManager,
long accountID,
Double balance,
Double credit)
Initialize the instance specifying the account for which this thread will be called and under which mitigator
this thread will work
|
void |
LeaseDTOImpl.init(long accountId,
BalanceManager balanceManager)
Initialize a
LeaseDTO instance for the given account id |
void |
LeaseDTOImpl.init(long accountId,
BalanceManager balanceManager)
Initialize a
LeaseDTO instance for the given account id |
void |
LeaseDTOImpl.init(long accountId,
double availableLocalBalance,
BalanceManager balanceManager)
This initialization is useful when take-over is happening.
|
void |
LeaseDTOImpl.init(long accountId,
double availableLocalBalance,
BalanceManager balanceManager)
This initialization is useful when take-over is happening.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
LeaseDTO.init(long accountId,
BalanceManager balanceManager)
Initialize a
LeaseDTO instance for the given account id |
abstract void |
LeaseDTO.init(long accountId,
BalanceManager balanceManager)
Initialize a
LeaseDTO instance for the given account id |
abstract void |
LeaseDTO.init(long accountId,
double availableLocalBalance,
BalanceManager balanceManager)
This initialization is useful when take-over is happening.
|
abstract void |
LeaseDTO.init(long accountId,
double availableLocalBalance,
BalanceManager balanceManager)
This initialization is useful when take-over is happening.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
Mitigator.init(BalanceManager balanceManager,
long accountID,
Double balance,
Double credit)
Initialize the instance specifying the account for which this thread will be called and under which mitigator
this thread will work
|
abstract void |
Mitigator.init(BalanceManager balanceManager,
long accountID,
Double balance,
Double credit)
Initialize the instance 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 © 2023. All rights reserved.