com.github.sadstool.redissonaspectlock.config.properties.LockProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of redisson-aspect-lock Show documentation
Show all versions of redisson-aspect-lock Show documentation
redisson aspect lock for spring
The newest version!
package com.github.sadstool.redissonaspectlock.config.properties;
import com.github.sadstool.redissonaspectlock.config.properties.name.LockNameProperties;
import org.springframework.boot.context.properties.ConfigurationProperties;
import java.util.List;
@ConfigurationProperties(prefix = "sadstool.lock")
public class LockProperties {
private Long waitTime;
private Long leaseTime;
private List names;
public Long getWaitTime() {
return waitTime;
}
public void setWaitTime(Long waitTime) {
this.waitTime = waitTime;
}
public Long getLeaseTime() {
return leaseTime;
}
public void setLeaseTime(Long leaseTime) {
this.leaseTime = leaseTime;
}
public List getNames() {
return names;
}
public void setNames(List names) {
this.names = names;
}
}