Class SolrScrapeConfiguration
- java.lang.Object
-
- org.apache.solr.prometheus.exporter.SolrScrapeConfiguration
-
public class SolrScrapeConfiguration extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SolrScrapeConfiguration.ConnectionType
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBasicAuthPwd()
String
getBasicAuthUser()
Optional<String>
getSolrHost()
SolrScrapeConfiguration.ConnectionType
getType()
Optional<String>
getZookeeperConnectionString()
static SolrScrapeConfiguration
solrCloud(String zookeeperConnectionString)
static SolrScrapeConfiguration
standalone(String solrHost)
String
toString()
SolrScrapeConfiguration
withBasicAuthCredentials(String user, String password)
-
-
-
Method Detail
-
getType
public SolrScrapeConfiguration.ConnectionType getType()
-
solrCloud
public static SolrScrapeConfiguration solrCloud(String zookeeperConnectionString)
-
standalone
public static SolrScrapeConfiguration standalone(String solrHost)
-
withBasicAuthCredentials
public SolrScrapeConfiguration withBasicAuthCredentials(String user, String password)
-
getBasicAuthUser
public String getBasicAuthUser()
-
getBasicAuthPwd
public String getBasicAuthPwd()
-
-