@Deprecated public class RedisUriRegistry extends Object implements org.springframework.cloud.deployer.resource.registry.UriRegistry
UriRegistry
implementation backed by Redis.Constructor and Description |
---|
RedisUriRegistry(org.springframework.data.redis.connection.RedisConnectionFactory redisConnectionFactory)
Deprecated.
Construct a
RedisArtifactRegistry with the provided
RedisConnectionFactory . |
public RedisUriRegistry(org.springframework.data.redis.connection.RedisConnectionFactory redisConnectionFactory)
RedisArtifactRegistry
with the provided
RedisConnectionFactory
.redisConnectionFactory
- connection factory for Redispublic URI find(String key)
find
in interface org.springframework.cloud.deployer.resource.registry.UriRegistry
public Map<String,URI> findAll()
findAll
in interface org.springframework.cloud.deployer.resource.registry.UriRegistry
public void register(String key, URI uri)
register
in interface org.springframework.cloud.deployer.resource.registry.UriRegistry
public void unregister(String key)
unregister
in interface org.springframework.cloud.deployer.resource.registry.UriRegistry
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.