public class LeaseResponse extends Object implements Serializable
availableLocalBalance needed when it is running in master slave mode, and slave should be updated instantly.| Modifier and Type | Field and Description |
|---|---|
double |
allocatedLease
How much amount lease has been given for this request.
|
double |
availableLocalBalance
What was the available local balance after processing this request.
|
| Constructor and Description |
|---|
LeaseResponse()
Default constructor
|
LeaseResponse(double allocatedLease,
double availableLocalBalance)
Constructor with two parameter
|
public double allocatedLease
public double availableLocalBalance
public LeaseResponse()
public LeaseResponse(double allocatedLease,
double availableLocalBalance)
allocatedLease - given lease amount for this request.availableLocalBalance - available local balance after this request has been processed.Copyright © 2022. All rights reserved.