public class TracingRedisSentinelConnection extends Object implements org.springframework.data.redis.connection.RedisSentinelConnection
| Constructor and Description |
|---|
TracingRedisSentinelConnection(org.springframework.data.redis.connection.RedisSentinelConnection redisSentinelConnection,
boolean withActiveSpanOnly,
io.opentracing.Tracer tracer) |
TracingRedisSentinelConnection(org.springframework.data.redis.connection.RedisSentinelConnection redisSentinelConnection,
TracingConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
failover(org.springframework.data.redis.connection.NamedNode master) |
boolean |
isOpen() |
Collection<org.springframework.data.redis.connection.RedisServer> |
masters() |
void |
monitor(org.springframework.data.redis.connection.RedisServer master) |
void |
remove(org.springframework.data.redis.connection.NamedNode master) |
Collection<org.springframework.data.redis.connection.RedisServer> |
slaves(org.springframework.data.redis.connection.NamedNode master) |
public TracingRedisSentinelConnection(org.springframework.data.redis.connection.RedisSentinelConnection redisSentinelConnection,
boolean withActiveSpanOnly,
io.opentracing.Tracer tracer)
public TracingRedisSentinelConnection(org.springframework.data.redis.connection.RedisSentinelConnection redisSentinelConnection,
TracingConfiguration configuration)
public boolean isOpen()
isOpen in interface org.springframework.data.redis.connection.RedisSentinelConnectionpublic void failover(org.springframework.data.redis.connection.NamedNode master)
failover in interface org.springframework.data.redis.connection.RedisSentinelCommandspublic Collection<org.springframework.data.redis.connection.RedisServer> masters()
masters in interface org.springframework.data.redis.connection.RedisSentinelCommandspublic Collection<org.springframework.data.redis.connection.RedisServer> slaves(org.springframework.data.redis.connection.NamedNode master)
slaves in interface org.springframework.data.redis.connection.RedisSentinelCommandspublic void remove(org.springframework.data.redis.connection.NamedNode master)
remove in interface org.springframework.data.redis.connection.RedisSentinelCommandspublic void monitor(org.springframework.data.redis.connection.RedisServer master)
monitor in interface org.springframework.data.redis.connection.RedisSentinelCommandspublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2017-2019–2019. All rights reserved.