com.github.sadstool.redissonaspectlock.attributes.LockAttributes 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.attributes;
import java.util.List;
public class LockAttributes {
private String name;
private String path;
private long waitTime;
private long leaseTime;
private List keys;
public LockAttributes(String name, String path, long waitTime, long leaseTime, List keys) {
this.name = name;
this.path = path;
this.waitTime = waitTime;
this.leaseTime = leaseTime;
this.keys = keys;
}
public String getName() {
return name;
}
public String getPath() {
return path;
}
public long getWaitTime() {
return waitTime;
}
public long getLeaseTime() {
return leaseTime;
}
public List getKeys() {
return keys;
}
}