public enum CacheChangeType extends Enum<CacheChangeType>
Enum Constant and Description |
---|
CLEAR
cacheName级别清空本地缓存
|
PUT
key级别清空本地缓存
|
REMOVE
key级别清空本地缓存
|
UPDATE
key级别清空本地缓存
|
Modifier and Type | Method and Description |
---|---|
static CacheChangeType |
from(Integer method) |
Integer |
getValue() |
static CacheChangeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheChangeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheChangeType REMOVE
public static final CacheChangeType UPDATE
public static final CacheChangeType PUT
public static final CacheChangeType CLEAR
public static CacheChangeType[] values()
for (CacheChangeType c : CacheChangeType.values()) System.out.println(c);
public static CacheChangeType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static CacheChangeType from(Integer method)
public Integer getValue()
Copyright © 2018. All rights reserved.