Class SlaveConnectionManager

java.lang.Object
org.pentaho.di.cluster.SlaveConnectionManager

public class SlaveConnectionManager extends Object
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 Details

    • getInstance

      public static SlaveConnectionManager getInstance()
    • createHttpClient

      public org.apache.http.client.HttpClient createHttpClient()
    • createHttpClient

      public org.apache.http.client.HttpClient createHttpClient(String user, String password)
    • createHttpClient

      public org.apache.http.client.HttpClient createHttpClient(String user, String password, String proxyHost, int proxyPort, org.apache.http.auth.AuthScope authScope)
    • shutdown

      public void shutdown()