public class DruidServiceConfig extends Object
Constructor and Description |
---|
DruidServiceConfig(String name,
String url,
Integer timeout,
Integer priority)
Build the Druid Service Config.
|
Modifier and Type | Method and Description |
---|---|
String |
getNameAndUrl()
Return the name and the URL of this druid service.
|
Integer |
getPriority()
The priority value attached to druid request queries used in the metadata block of the query.
|
Integer |
getTimeout()
The timeout for requests to druid.
|
String |
getUrl()
The URL for the primary servlet of the druid service.
|
String |
toString() |
public DruidServiceConfig(String name, String url, Integer timeout, Integer priority)
name
- The name of the webserviceurl
- The URL for the webservicetimeout
- The timeout in millisecondspriority
- The priority to be sent to the druid routerpublic String getUrl()
public Integer getTimeout()
public Integer getPriority()
public String getNameAndUrl()
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.