Package com.firebolt.jdbc.client.account
Class FireboltAccountRetriever<T>
java.lang.Object
com.firebolt.jdbc.client.FireboltClient
com.firebolt.jdbc.client.account.FireboltAccountRetriever<T>
- All Implemented Interfaces:
CacheListener,EventListener
-
Field Summary
Fields inherited from class com.firebolt.jdbc.client.FireboltClient
connection -
Constructor Summary
ConstructorsConstructorDescriptionFireboltAccountRetriever(okhttp3.OkHttpClient httpClient, FireboltConnection connection, String customDrivers, String customClients, String host, Class<T> type) -
Method Summary
Methods inherited from class com.firebolt.jdbc.client.FireboltClient
createPostRequest, createPostRequest, execute, execute, getResource, getResource, getResponseAsString, isCallSuccessful, jsonToObject, validateResponse
-
Constructor Details
-
FireboltAccountRetriever
-
-
Method Details
-
retrieve
- Throws:
SQLException
-
validateResponse
protected void validateResponse(String host, int statusCode, String errorMessageFromServer) throws SQLException - Overrides:
validateResponsein classFireboltClient- Throws:
SQLException
-
cleanup
public void cleanup()- Specified by:
cleanupin interfaceCacheListener- Overrides:
cleanupin classFireboltClient
-