public class ShardJedisSentinelManagerImpl extends Object implements ShardJedisSentinelManager
Constructor and Description |
---|
ShardJedisSentinelManagerImpl(ShardJedisSentinelConfigs configs) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
TinyShardJedis |
getShardedJedis() |
void |
returnBrokenResource(TinyShardJedis resource) |
void |
returnResource(TinyShardJedis resource) |
void |
returnResourceObject(TinyShardJedis resource) |
void |
setFailOverTime(int failOverTime) |
public ShardJedisSentinelManagerImpl(ShardJedisSentinelConfigs configs)
public void destroy()
destroy
in interface ShardJedisSentinelManager
public TinyShardJedis getShardedJedis()
getShardedJedis
in interface ShardJedisSentinelManager
public void returnResourceObject(TinyShardJedis resource)
returnResourceObject
in interface ShardJedisSentinelManager
public void returnResource(TinyShardJedis resource)
returnResource
in interface ShardJedisSentinelManager
public void returnBrokenResource(TinyShardJedis resource)
returnBrokenResource
in interface ShardJedisSentinelManager
public void setFailOverTime(int failOverTime)
setFailOverTime
in interface ShardJedisSentinelManager
Copyright © 2006–2018 TinyGroup. All rights reserved.