public enum RepositoryType extends java.lang.Enum<RepositoryType>
枚举常量和说明 |
---|
Caffeine
基于Caffeine实现 ,仓库中的资源仅在进程内可见,其他节点不可见
|
CUSTOM
自定义
|
Ehcache
基于Ehcache实现 ,仓库中的资源仅在进程内可见,其他节点不可见
|
Hsqldb
基于Hsqldb实现,仓库中的资源可以多节点共享资源,可支持大量的临时资源 ,内置hsqldb服务
|
MongoDB
基于MongoDB实现,仓库中的资源可以多节点共享资源,可支持海量的临时资源,前提是需要有MongoDB服务
|
Postgres
基于Postgres实现,仓库中的资源可以多节点共享资源,可支持海量的临时资源,前提是需要有Postgres服务
|
Redis
基于Redis实现,仓库中的资源可以多节点共享资源,可支持海量的临时资源 ,前提是需要有Redis服务
|
限定符和类型 | 方法和说明 |
---|---|
static RepositoryType |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static RepositoryType[] |
values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
|
public static final RepositoryType Ehcache
public static final RepositoryType Caffeine
public static final RepositoryType MongoDB
public static final RepositoryType Hsqldb
public static final RepositoryType Redis
public static final RepositoryType Postgres
public static final RepositoryType CUSTOM
public static RepositoryType[] values()
for (RepositoryType c : RepositoryType.values()) System.out.println(c);
public static RepositoryType valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。