@Target(value=TYPE) @Retention(value=RUNTIME) @Documented public @interface RedisDataSource
Modifier and Type | Required Element and Description |
---|---|
String |
name |
RedisServer[] |
servers |
Modifier and Type | Optional Element and Description |
---|---|
IRedis.ConnectionType |
connectionType |
String |
masterServerName |
Class<? extends IPasswordProcessor> |
passwordClass |
boolean |
passwordEncrypted |
boolean |
poolBlockWhenExhausted |
String |
poolEvictionPolicyClassName |
boolean |
poolFairness |
boolean |
poolJmxEnabled |
String |
poolJmxNameBase |
String |
poolJmxNamePrefix |
boolean |
poolLifo |
int |
poolMaxIdle |
int |
poolMaxTotal |
long |
poolMaxWaitMillis |
long |
poolMinEvictableIdleTimeMillis |
int |
poolMinIdle |
int |
poolNumTestsPerEvictionRun |
long |
poolSoftMinEvictableIdleTimeMillis |
boolean |
poolTestOnBorrow |
boolean |
poolTestOnCreate |
boolean |
poolTestOnReturn |
boolean |
poolTestWhileIdle |
long |
poolTimeBetweenEvictionRunsMillis |
public abstract String name
public abstract RedisServer[] servers
public abstract IRedis.ConnectionType connectionType
public abstract String masterServerName
public abstract Class<? extends IPasswordProcessor> passwordClass
public abstract boolean poolBlockWhenExhausted
public abstract String poolJmxNameBase
public abstract String poolJmxNamePrefix
public abstract String poolEvictionPolicyClassName
public abstract long poolMaxWaitMillis
public abstract long poolSoftMinEvictableIdleTimeMillis
public abstract boolean poolTestOnBorrow
public abstract boolean poolTestOnReturn
public abstract boolean poolTestWhileIdle
Copyright © 2022. All rights reserved.