- readFromDb(long) - Method in class com.reve.balancemanager.BalanceManager
-
If the given accountId is not present in redis then it will be loaded from mysql database and be saved in redis cluster.
- readFromDb(long) - Method in class com.reve.balancemanager.BalanceManager
-
If the given accountId is not present in redis then it will be loaded from mysql database and be saved in redis cluster.
- readResourceFile(String) - Static method in class com.reve.balancemanager.util.Functions
-
Read a text resource file.
- readResourceFile(String) - Static method in class com.reve.balancemanager.util.Functions
-
Read a text resource file.
- returnAvailableBalancePercentage(double) - Method in class com.reve.balancemanager.LeaseDTO
-
A percentage of available balance for this account will be returned to redis cluster when this method is called.
- returnAvailableBalancePercentage(double) - Method in class com.reve.balancemanager.LeaseDTO
-
A percentage of available balance for this account will be returned to redis cluster when this method is called.
- returnLease(long, double) - Method in class com.reve.balancemanager.BalanceManager
-
Extra amount left at the end of the call is added to the lease (make sure to provide +ve
value).
- returnLease(long, double) - Method in class com.reve.balancemanager.BalanceManager
-
Extra amount left at the end of the call is added to the lease (make sure to provide +ve
value).
- returnLeaseOnRequest(long) - Method in class com.reve.balancemanager.BalanceManager
-
In case the balance of an account gets exhausted, balance manager will broadcast an empty status to all BMs.
- returnLeaseOnRequest(long) - Method in class com.reve.balancemanager.BalanceManager
-
In case the balance of an account gets exhausted, balance manager will broadcast an empty status to all BMs.
- run() - Method in class com.reve.balancemanager.cluster.PubSubListener
-
- run() - Method in class com.reve.balancemanager.cluster.PubSubListener
-