Modifier and Type | Class and Description |
---|---|
protected class |
JedisSentinelPool.MasterListener |
Modifier and Type | Field and Description |
---|---|
protected java.util.Collection<JedisSentinelPool.MasterListener> |
masterListeners |
Constructor and Description |
---|
JedisSentinelPool(java.lang.String masterName,
java.util.Set<HostAndPort> sentinels,
org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig,
JedisClientConfig masteClientConfig,
JedisClientConfig sentinelClientConfig) |
JedisSentinelPool(java.lang.String masterName,
java.util.Set<HostAndPort> sentinels,
org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig,
JedisFactory factory,
JedisClientConfig sentinelClientConfig) |
JedisSentinelPool(java.lang.String masterName,
java.util.Set<HostAndPort> sentinels,
JedisClientConfig masteClientConfig,
JedisClientConfig sentinelClientConfig) |
JedisSentinelPool(java.lang.String masterName,
java.util.Set<HostAndPort> sentinels,
JedisFactory factory,
JedisClientConfig sentinelClientConfig) |
JedisSentinelPool(java.lang.String masterName,
java.util.Set<java.lang.String> sentinels) |
JedisSentinelPool(java.lang.String masterName,
java.util.Set<java.lang.String> sentinels,
org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig) |
JedisSentinelPool(java.lang.String masterName,
java.util.Set<java.lang.String> sentinels,
org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig,
int timeout) |
JedisSentinelPool(java.lang.String masterName,
java.util.Set<java.lang.String> sentinels,
org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig,
int connectionTimeout,
int soTimeout,
int infiniteSoTimeout,
java.lang.String user,
java.lang.String password,
int database,
java.lang.String clientName) |
JedisSentinelPool(java.lang.String masterName,
java.util.Set<java.lang.String> sentinels,
org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig,
int connectionTimeout,
int soTimeout,
int infiniteSoTimeout,
java.lang.String user,
java.lang.String password,
int database,
java.lang.String clientName,
int sentinelConnectionTimeout,
int sentinelSoTimeout,
java.lang.String sentinelUser,
java.lang.String sentinelPassword,
java.lang.String sentinelClientName) |
JedisSentinelPool(java.lang.String masterName,
java.util.Set<java.lang.String> sentinels,
org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig,
int connectionTimeout,
int soTimeout,
java.lang.String password,
int database) |
JedisSentinelPool(java.lang.String masterName,
java.util.Set<java.lang.String> sentinels,
org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig,
int connectionTimeout,
int soTimeout,
java.lang.String password,
int database,
java.lang.String clientName) |
JedisSentinelPool(java.lang.String masterName,
java.util.Set<java.lang.String> sentinels,
org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig,
int connectionTimeout,
int soTimeout,
java.lang.String password,
int database,
java.lang.String clientName,
int sentinelConnectionTimeout,
int sentinelSoTimeout,
java.lang.String sentinelPassword,
java.lang.String sentinelClientName) |
JedisSentinelPool(java.lang.String masterName,
java.util.Set<java.lang.String> sentinels,
org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig,
int connectionTimeout,
int soTimeout,
java.lang.String user,
java.lang.String password,
int database) |
JedisSentinelPool(java.lang.String masterName,
java.util.Set<java.lang.String> sentinels,
org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig,
int connectionTimeout,
int soTimeout,
java.lang.String user,
java.lang.String password,
int database,
java.lang.String clientName) |
JedisSentinelPool(java.lang.String masterName,
java.util.Set<java.lang.String> sentinels,
org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig,
int connectionTimeout,
int soTimeout,
java.lang.String user,
java.lang.String password,
int database,
java.lang.String clientName,
int sentinelConnectionTimeout,
int sentinelSoTimeout,
java.lang.String sentinelUser,
java.lang.String sentinelPassword,
java.lang.String sentinelClientName) |
JedisSentinelPool(java.lang.String masterName,
java.util.Set<java.lang.String> sentinels,
org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig,
int timeout,
java.lang.String password) |
JedisSentinelPool(java.lang.String masterName,
java.util.Set<java.lang.String> sentinels,
org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig,
int timeout,
java.lang.String password,
int database) |
JedisSentinelPool(java.lang.String masterName,
java.util.Set<java.lang.String> sentinels,
org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig,
int timeout,
java.lang.String password,
int database,
java.lang.String clientName) |
JedisSentinelPool(java.lang.String masterName,
java.util.Set<java.lang.String> sentinels,
org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig,
int timeout,
java.lang.String user,
java.lang.String password,
int database) |
JedisSentinelPool(java.lang.String masterName,
java.util.Set<java.lang.String> sentinels,
org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig,
int timeout,
java.lang.String user,
java.lang.String password,
int database,
java.lang.String clientName) |
JedisSentinelPool(java.lang.String masterName,
java.util.Set<java.lang.String> sentinels,
org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig,
JedisFactory factory) |
JedisSentinelPool(java.lang.String masterName,
java.util.Set<java.lang.String> sentinels,
org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig,
java.lang.String password) |
JedisSentinelPool(java.lang.String masterName,
java.util.Set<java.lang.String> sentinels,
java.lang.String password) |
JedisSentinelPool(java.lang.String masterName,
java.util.Set<java.lang.String> sentinels,
java.lang.String password,
java.lang.String sentinelPassword) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
HostAndPort |
getCurrentHostMaster() |
Jedis |
getResource() |
void |
returnResource(Jedis resource) |
addObjects, close, returnBrokenResource
addObject, borrowObject, borrowObject, borrowObject, clear, evict, getFactory, getFactoryType, getMaxIdle, getMinIdle, getNumActive, getNumIdle, getNumWaiters, invalidateObject, invalidateObject, listAllObjects, preparePool, returnObject, setConfig, setMaxIdle, setMinIdle, toStringAppendFields, use
getBlockWhenExhausted, getBorrowedCount, getCreatedCount, getCreationStackTrace, getDestroyedByBorrowValidationCount, getDestroyedByEvictorCount, getDestroyedCount, getDurationBetweenEvictionRuns, getEvictionPolicy, getEvictionPolicyClassName, getEvictorShutdownTimeout, getEvictorShutdownTimeoutDuration, getEvictorShutdownTimeoutMillis, getFairness, getJmxName, getLifo, getLogAbandoned, getMaxBorrowWaitTimeMillis, getMaxTotal, getMaxWaitDuration, getMaxWaitMillis, getMeanActiveTimeMillis, getMeanBorrowWaitTimeMillis, getMeanIdleTimeMillis, getMessageStatistics, getMinEvictableIdleDuration, getMinEvictableIdleTime, getMinEvictableIdleTimeMillis, getNumTestsPerEvictionRun, getRemoveAbandonedOnBorrow, getRemoveAbandonedOnMaintenance, getRemoveAbandonedTimeout, getRemoveAbandonedTimeoutDuration, getReturnedCount, getSoftMinEvictableIdleDuration, getSoftMinEvictableIdleTime, getSoftMinEvictableIdleTimeMillis, getSwallowedExceptionListener, getTestOnBorrow, getTestOnCreate, getTestOnReturn, getTestWhileIdle, getTimeBetweenEvictionRuns, getTimeBetweenEvictionRunsMillis, isAbandonedConfig, isClosed, markReturningState, setAbandonedConfig, setBlockWhenExhausted, setConfig, setEvictionPolicy, setEvictionPolicyClassName, setEvictionPolicyClassName, setEvictorShutdownTimeout, setEvictorShutdownTimeoutMillis, setLifo, setMaxTotal, setMaxWait, setMaxWaitMillis, setMessagesStatistics, setMinEvictableIdle, setMinEvictableIdleTime, setMinEvictableIdleTimeMillis, setNumTestsPerEvictionRun, setSoftMinEvictableIdle, setSoftMinEvictableIdleTime, setSoftMinEvictableIdleTimeMillis, setSwallowedExceptionListener, setTestOnBorrow, setTestOnCreate, setTestOnReturn, setTestWhileIdle, setTimeBetweenEvictionRuns, setTimeBetweenEvictionRunsMillis
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBlockWhenExhausted, getBorrowedCount, getCreatedCount, getCreationStackTrace, getDestroyedByBorrowValidationCount, getDestroyedByEvictorCount, getDestroyedCount, getFairness, getLifo, getLogAbandoned, getMaxBorrowWaitTimeMillis, getMaxTotal, getMaxWaitMillis, getMeanActiveTimeMillis, getMeanBorrowWaitTimeMillis, getMeanIdleTimeMillis, getMinEvictableIdleTimeMillis, getNumTestsPerEvictionRun, getRemoveAbandonedOnBorrow, getRemoveAbandonedOnMaintenance, getRemoveAbandonedTimeout, getReturnedCount, getTestOnBorrow, getTestOnCreate, getTestOnReturn, getTestWhileIdle, getTimeBetweenEvictionRunsMillis, isAbandonedConfig, isClosed
protected final java.util.Collection<JedisSentinelPool.MasterListener> masterListeners
public JedisSentinelPool(java.lang.String masterName, java.util.Set<HostAndPort> sentinels, JedisClientConfig masteClientConfig, JedisClientConfig sentinelClientConfig)
public JedisSentinelPool(java.lang.String masterName, java.util.Set<java.lang.String> sentinels, org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig)
public JedisSentinelPool(java.lang.String masterName, java.util.Set<java.lang.String> sentinels)
public JedisSentinelPool(java.lang.String masterName, java.util.Set<java.lang.String> sentinels, java.lang.String password)
public JedisSentinelPool(java.lang.String masterName, java.util.Set<java.lang.String> sentinels, java.lang.String password, java.lang.String sentinelPassword)
public JedisSentinelPool(java.lang.String masterName, java.util.Set<java.lang.String> sentinels, org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig, int timeout, java.lang.String password)
public JedisSentinelPool(java.lang.String masterName, java.util.Set<java.lang.String> sentinels, org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig, int timeout)
public JedisSentinelPool(java.lang.String masterName, java.util.Set<java.lang.String> sentinels, org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig, java.lang.String password)
public JedisSentinelPool(java.lang.String masterName, java.util.Set<java.lang.String> sentinels, org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig, int timeout, java.lang.String password, int database)
public JedisSentinelPool(java.lang.String masterName, java.util.Set<java.lang.String> sentinels, org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig, int timeout, java.lang.String user, java.lang.String password, int database)
public JedisSentinelPool(java.lang.String masterName, java.util.Set<java.lang.String> sentinels, org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig, int timeout, java.lang.String password, int database, java.lang.String clientName)
public JedisSentinelPool(java.lang.String masterName, java.util.Set<java.lang.String> sentinels, org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig, int timeout, java.lang.String user, java.lang.String password, int database, java.lang.String clientName)
public JedisSentinelPool(java.lang.String masterName, java.util.Set<java.lang.String> sentinels, org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig, int connectionTimeout, int soTimeout, java.lang.String password, int database)
public JedisSentinelPool(java.lang.String masterName, java.util.Set<java.lang.String> sentinels, org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig, int connectionTimeout, int soTimeout, java.lang.String user, java.lang.String password, int database)
public JedisSentinelPool(java.lang.String masterName, java.util.Set<java.lang.String> sentinels, org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig, int connectionTimeout, int soTimeout, java.lang.String password, int database, java.lang.String clientName)
public JedisSentinelPool(java.lang.String masterName, java.util.Set<java.lang.String> sentinels, org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig, int connectionTimeout, int soTimeout, java.lang.String user, java.lang.String password, int database, java.lang.String clientName)
public JedisSentinelPool(java.lang.String masterName, java.util.Set<java.lang.String> sentinels, org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig, int connectionTimeout, int soTimeout, int infiniteSoTimeout, java.lang.String user, java.lang.String password, int database, java.lang.String clientName)
public JedisSentinelPool(java.lang.String masterName, java.util.Set<java.lang.String> sentinels, org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig, int connectionTimeout, int soTimeout, java.lang.String password, int database, java.lang.String clientName, int sentinelConnectionTimeout, int sentinelSoTimeout, java.lang.String sentinelPassword, java.lang.String sentinelClientName)
public JedisSentinelPool(java.lang.String masterName, java.util.Set<java.lang.String> sentinels, org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig, int connectionTimeout, int soTimeout, java.lang.String user, java.lang.String password, int database, java.lang.String clientName, int sentinelConnectionTimeout, int sentinelSoTimeout, java.lang.String sentinelUser, java.lang.String sentinelPassword, java.lang.String sentinelClientName)
public JedisSentinelPool(java.lang.String masterName, java.util.Set<java.lang.String> sentinels, org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig, int connectionTimeout, int soTimeout, int infiniteSoTimeout, java.lang.String user, java.lang.String password, int database, java.lang.String clientName, int sentinelConnectionTimeout, int sentinelSoTimeout, java.lang.String sentinelUser, java.lang.String sentinelPassword, java.lang.String sentinelClientName)
public JedisSentinelPool(java.lang.String masterName, java.util.Set<java.lang.String> sentinels, org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig, JedisFactory factory)
public JedisSentinelPool(java.lang.String masterName, java.util.Set<HostAndPort> sentinels, org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig, JedisClientConfig masteClientConfig, JedisClientConfig sentinelClientConfig)
public JedisSentinelPool(java.lang.String masterName, java.util.Set<HostAndPort> sentinels, JedisFactory factory, JedisClientConfig sentinelClientConfig)
public JedisSentinelPool(java.lang.String masterName, java.util.Set<HostAndPort> sentinels, org.apache.commons.pool2.impl.GenericObjectPoolConfig<Jedis> poolConfig, JedisFactory factory, JedisClientConfig sentinelClientConfig)
public HostAndPort getCurrentHostMaster()
public Jedis getResource()
getResource
in class Pool<Jedis>
public void returnResource(Jedis resource)
returnResource
in class Pool<Jedis>
Copyright © 2024. All rights reserved.