public enum RedisSerializerEnum extends Enum<RedisSerializerEnum>
Enum Constant and Description |
---|
FASTJSON |
JACKSON |
JDK
序列化任何
Serializable 对象 |
Modifier and Type | Method and Description |
---|---|
abstract org.springframework.data.redis.serializer.RedisSerializer<Object> |
getRedisSerializer() |
static RedisSerializerEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RedisSerializerEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RedisSerializerEnum JDK
Serializable
对象public static final RedisSerializerEnum FASTJSON
public static final RedisSerializerEnum JACKSON
public static RedisSerializerEnum[] values()
for (RedisSerializerEnum c : RedisSerializerEnum.values()) System.out.println(c);
public static RedisSerializerEnum 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 abstract org.springframework.data.redis.serializer.RedisSerializer<Object> getRedisSerializer()
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.