-
accountId
long accountId
Account ID for which this
LeaseDTO instance will maintain balance information
-
availableLocalBalance
double availableLocalBalance
Advanced amount is taken from redis cluster balance and saved to availableLocalBalance,
Whenever lease is asked it will be provided too fast.
-
isFrozen
boolean isFrozen
True when an account is frozen. An account can be frozen when any Balance Manager or SBC fails/crashes.
If true the account will not be able to get lease from the system unless unfrozen.
-
balanceZeroTime
long balanceZeroTime
Last time when mysql and redis balance has become zero. This value is used to prevent frequent redis call,
when balance has become zero.
-
fullBalanceReleaseTime
long fullBalanceReleaseTime
Time to keep track when the full balance was released from a Balance Manager for an account.
Here balance denotes local balance for a Balance Manager/SBC.
-
leaseChunkAmount
double leaseChunkAmount
default amount Balance Manager tries to store locally from Redis for an account when
@getLease is called the first time
-
lastBalanceLeaseFromRedisTime
long lastBalanceLeaseFromRedisTime
Denotes last time lease was taken for this account from Redis