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.| Constructor and Description |
|---|
RedisCallDTO(LeaseDTO leaseDTO,
double amount)
Constructor
|
RedisCallDTO(LeaseDTO leaseDTO,
RedisCallType type)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
double |
getAmount() |
LeaseDTO |
getLeaseDTO() |
RedisCallType |
getType() |
void |
setAmount(double amount) |
void |
setLeaseDTO(LeaseDTO leaseDTO) |
void |
setType(RedisCallType type) |
String |
toString() |
public RedisCallDTO(LeaseDTO leaseDTO, double amount)
public RedisCallDTO(LeaseDTO leaseDTO, RedisCallType type)
public double getAmount()
public void setAmount(double amount)
public LeaseDTO getLeaseDTO()
public void setLeaseDTO(LeaseDTO leaseDTO)
public RedisCallType getType()
public void setType(RedisCallType type)
Copyright © 2024. All rights reserved.