public class RedisCallDTO extends Object
RedisCaller thread, An instance of this RedisCallDTO dto class
must be pushed into the queue of RedisCaller thread. This class defines for which account id and how much
amount should be increased in the redis.| Modifier and Type | Field and Description |
|---|---|
static int |
SCRIPT_EXECUTION
It is public static final int variable.
|
static int |
TRANSACTION
It is public static final int variable.
|
| Constructor and Description |
|---|
RedisCallDTO(LeaseDTO leaseDTO,
double amount)
Constructor
|
RedisCallDTO(LeaseDTO leaseDTO,
String luaFileName) |
| Modifier and Type | Method and Description |
|---|---|
double |
getAmount() |
LeaseDTO |
getLeaseDTO() |
String |
getLuaFileName() |
int |
getType() |
void |
setAmount(double amount) |
void |
setLeaseDTO(LeaseDTO leaseDTO) |
void |
setLuaFileName(String luaFileName) |
void |
setType(int type) |
String |
toString() |
public static final int TRANSACTION
type.public static final int SCRIPT_EXECUTION
type.public RedisCallDTO(LeaseDTO leaseDTO, double amount)
public double getAmount()
public void setAmount(double amount)
public LeaseDTO getLeaseDTO()
public void setLeaseDTO(LeaseDTO leaseDTO)
public int getType()
public void setType(int type)
public String getLuaFileName()
public void setLuaFileName(String luaFileName)
Copyright © 2023. All rights reserved.