Package org.pentaho.di.cluster
Class SlaveConnectionManager
java.lang.Object
org.pentaho.di.cluster.SlaveConnectionManager
Encapsulates the Apache commons HTTP connection manager with a singleton. We can use this to limit the number of open
connections to slave servers.
- Author:
- matt
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.http.client.HttpClient
org.apache.http.client.HttpClient
createHttpClient
(String user, String password) org.apache.http.client.HttpClient
createHttpClient
(String user, String password, String proxyHost, int proxyPort, org.apache.http.auth.AuthScope authScope) static SlaveConnectionManager
void
shutdown()
-
Method Details
-
getInstance
-
createHttpClient
public org.apache.http.client.HttpClient createHttpClient() -
createHttpClient
-
createHttpClient
-
shutdown
public void shutdown()
-