Class RedisEnvironmentRepository
java.lang.Object
org.springframework.cloud.config.server.environment.RedisEnvironmentRepository
- All Implemented Interfaces:
EnvironmentRepository, org.springframework.core.Ordered
public class RedisEnvironmentRepository
extends Object
implements EnvironmentRepository, org.springframework.core.Ordered
- Author:
- Piotr MiĆkowski, KNV Srinivas
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionRedisEnvironmentRepository(org.springframework.data.redis.core.StringRedisTemplate redis, RedisEnvironmentProperties properties) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface EnvironmentRepository
findOne
-
Constructor Details
-
RedisEnvironmentRepository
public RedisEnvironmentRepository(org.springframework.data.redis.core.StringRedisTemplate redis, RedisEnvironmentProperties properties)
-
-
Method Details
-
findOne
public org.springframework.cloud.config.environment.Environment findOne(String application, String profile, String label) - Specified by:
findOnein interfaceEnvironmentRepository
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-