public class ConnectionStringHostListProvider extends java.lang.Object implements HostListProvider, StaticHostListProvider
| Constructor and Description |
|---|
ConnectionStringHostListProvider(@NonNull java.util.Properties properties,
java.lang.String initialUrl,
@NonNull HostListProviderService hostListProviderService) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<HostSpec> |
forceRefresh() |
java.util.List<HostSpec> |
forceRefresh(java.sql.Connection connection) |
java.util.List<HostSpec> |
refresh() |
java.util.List<HostSpec> |
refresh(java.sql.Connection connection) |
public ConnectionStringHostListProvider(@NonNull java.util.Properties properties,
java.lang.String initialUrl,
@NonNull HostListProviderService hostListProviderService)
public java.util.List<HostSpec> refresh() throws java.sql.SQLException
refresh in interface HostListProviderjava.sql.SQLExceptionpublic java.util.List<HostSpec> refresh(java.sql.Connection connection) throws java.sql.SQLException
refresh in interface HostListProviderjava.sql.SQLExceptionpublic java.util.List<HostSpec> forceRefresh() throws java.sql.SQLException
forceRefresh in interface HostListProviderjava.sql.SQLExceptionpublic java.util.List<HostSpec> forceRefresh(java.sql.Connection connection) throws java.sql.SQLException
forceRefresh in interface HostListProviderjava.sql.SQLException