com.github.sadstool.redissonaspectlock.attributes.configuration.LockConfiguration 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.configuration;
public class LockConfiguration {
private long waitTime;
private long leaseTime;
public LockConfiguration(long waitTime, long leaseTime) {
this.waitTime = waitTime;
this.leaseTime = leaseTime;
}
public long getWaitTime() {
return waitTime;
}
public long getLeaseTime() {
return leaseTime;
}
}