| Modifier and Type | Method and Description |
|---|---|
static HostAddress |
HostAddress.from(String host,
int port) |
static HostAddress |
HostAddress.from(String host,
int port,
boolean primary) |
| Modifier and Type | Method and Description |
|---|---|
List<HostAddress> |
Configuration.addresses() |
static List<HostAddress> |
HostAddress.parse(String spec,
HaMode haMode)
parse - parse server addresses from the URL fragment.
|
| Modifier and Type | Method and Description |
|---|---|
Configuration.Builder |
Configuration.Builder.addresses(HostAddress... hostAddress) |
| Modifier and Type | Field and Description |
|---|---|
protected static ConcurrentMap<HostAddress,Long> |
MultiPrimaryClient.denyList |
| Modifier and Type | Method and Description |
|---|---|
HostAddress |
MultiPrimaryReplicaClient.getHostAddress() |
HostAddress |
MultiPrimaryClient.getHostAddress() |
HostAddress |
StandardClient.getHostAddress() |
| Modifier and Type | Method and Description |
|---|---|
static Socket |
ConnectionHelper.connectSocket(Configuration conf,
HostAddress hostAddress)
Connect socket
|
static Socket |
ConnectionHelper.createSocket(Configuration conf,
HostAddress hostAddress)
Create socket accordingly to options.
|
static long |
ConnectionHelper.initializeClientCapabilities(Configuration configuration,
long serverCapabilities,
HostAddress hostAddress) |
static Credential |
ConnectionHelper.loadCredential(CredentialPlugin credentialPlugin,
Configuration configuration,
HostAddress hostAddress)
Load user/password plugin if configured to.
|
static SSLSocket |
ConnectionHelper.sslWrapper(HostAddress hostAddress,
Socket socket,
long clientCapabilities,
byte exchangeCharset,
com.singlestore.jdbc.client.Context context,
Writer writer)
Create SSL wrapper
|
static Socket |
ConnectionHelper.standardSocket(Configuration conf,
HostAddress hostAddress)
Use standard socket implementation.
|
| Constructor and Description |
|---|
ReplayClient(Configuration conf,
HostAddress hostAddress,
ReentrantLock lock,
boolean skipPostCommands) |
StandardClient(Configuration conf,
HostAddress hostAddress,
ReentrantLock lock,
boolean skipPostCommands) |
| Modifier and Type | Method and Description |
|---|---|
void |
Writer.setServerThreadId(Long serverThreadId,
HostAddress hostAddress)
Set server thread id.
|
void |
Reader.setServerThreadId(Long serverThreadId,
HostAddress hostAddress)
Set server thread id.
|
| Modifier and Type | Method and Description |
|---|---|
Socket |
SocketHandlerFunction.apply(Configuration conf,
HostAddress hostAddress) |
void |
PacketWriter.setServerThreadId(Long serverThreadId,
HostAddress hostAddress)
Set server thread id.
|
void |
PacketReader.setServerThreadId(Long serverThreadId,
HostAddress hostAddress)
Set server thread id.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Optional<HostAddress> |
HaMode.getAvailableHost(List<HostAddress> hostAddresses,
ConcurrentMap<HostAddress,Long> denyList,
boolean primary) |
static Optional<HostAddress> |
HaMode.getAvailableHostInOrder(List<HostAddress> hostAddresses,
ConcurrentMap<HostAddress,Long> blacklist,
boolean primary) |
| Modifier and Type | Method and Description |
|---|---|
abstract Optional<HostAddress> |
HaMode.getAvailableHost(List<HostAddress> hostAddresses,
ConcurrentMap<HostAddress,Long> denyList,
boolean primary) |
abstract Optional<HostAddress> |
HaMode.getAvailableHost(List<HostAddress> hostAddresses,
ConcurrentMap<HostAddress,Long> denyList,
boolean primary) |
static Optional<HostAddress> |
HaMode.getAvailableHostInOrder(List<HostAddress> hostAddresses,
ConcurrentMap<HostAddress,Long> blacklist,
boolean primary) |
static Optional<HostAddress> |
HaMode.getAvailableHostInOrder(List<HostAddress> hostAddresses,
ConcurrentMap<HostAddress,Long> blacklist,
boolean primary) |
| Constructor and Description |
|---|
ExceptionFactory(Configuration conf,
HostAddress hostAddress) |
SqlExceptionFactory(Connection connection,
SingleStorePoolConnection poolConnection,
Configuration conf,
HostAddress hostAddress,
long threadId,
Statement statement,
String sql) |
| Modifier and Type | Method and Description |
|---|---|
default CredentialPlugin |
CredentialPlugin.initialize(Configuration conf,
String userName,
HostAddress hostAddress) |
| Modifier and Type | Method and Description |
|---|---|
CredentialPlugin |
AwsIamCredentialPlugin.initialize(Configuration conf,
String userName,
HostAddress hostAddress) |
| Constructor and Description |
|---|
AwsCredentialGenerator(Properties nonMappedOptions,
String userName,
HostAddress hostAddress)
AWS Generator.
|
| Modifier and Type | Method and Description |
|---|---|
CredentialPlugin |
BrowserCredentialPlugin.initialize(Configuration conf,
String userName,
HostAddress hostAddress) |
| Modifier and Type | Method and Description |
|---|---|
CredentialPlugin |
EnvCredentialPlugin.initialize(Configuration conf,
String userName,
HostAddress hostAddress) |
| Modifier and Type | Method and Description |
|---|---|
CredentialPlugin |
PropertiesCredentialPlugin.initialize(Configuration conf,
String userName,
HostAddress hostAddress) |
| Modifier and Type | Method and Description |
|---|---|
CredentialPlugin |
JwtCredentialPlugin.initialize(Configuration conf,
String userName,
HostAddress hostAddress) |
Copyright © 2023 SingleStore. All rights reserved.