public class FlinkJedisSentinelConfig extends FlinkJedisConfigBase
Modifier and Type | Class and Description |
---|---|
static class |
FlinkJedisSentinelConfig.Builder
Builder for initializing
FlinkJedisSentinelConfig . |
connectionTimeout, maxIdle, maxTotal, minIdle
Modifier and Type | Method and Description |
---|---|
int |
getDatabase()
Returns database index.
|
String |
getMasterName()
Returns master name of the replica set.
|
String |
getPassword()
Returns password.
|
Set<String> |
getSentinels()
Returns Sentinels host addresses.
|
int |
getSoTimeout()
Returns socket timeout.
|
String |
toString() |
getConnectionTimeout, getMaxIdle, getMaxTotal, getMinIdle
public String getMasterName()
public Set<String> getSentinels()
public int getSoTimeout()
public String getPassword()
public int getDatabase()
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.