All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.sadstool.redissonaspectlock.config.properties.LockProperties Maven / Gradle / Ivy

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy