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

io.github.spitmaster.warlock.enums.Scope Maven / Gradle / Ivy

Go to download

warlock-spring-boot-starter is an annotation-driven concurrency tools library for java with Spring. It is easy to use in Spring application Just using annotation on your method , the concurrency lock problem would be solved

There is a newer version: 1.0.1
Show newest version
package io.github.spitmaster.warlock.enums;

/**
 * 同步工具的范围
 *
 * @author zhouyijin
 */
public enum Scope {

    /**
     * 作用范围仅本JVM
     * 作用域仅在单JVM实例上
     */
    STANDALONE,

    /**
     * 作用范围是分布式集群
     * 默认是基于Redis, 需要Redisson的依赖支持
     */
    DISTRIBUTED,

    //未来考虑是否支持ZK等其他中间件
    ;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy