public abstract class DoctorConfig extends Object implements ConfigView<BuckConfig>
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_ENDPOINT_TIMEOUT_MS |
static int |
DEFAULT_REPORT_MAX_UPLOAD_RETRIES |
static long |
DEFAULT_REPORT_TIMEOUT_MS |
static String |
DEFAULT_REPORT_UPLOAD_PATH |
static String |
DOCTOR_SECTION |
static String |
ENDPOINT_EXTRA_HEADERS_FIELD |
static String |
ENDPOINT_URL_FIELD |
static String |
PROTOCOL_VERSION_FIELD |
static String |
REPORT_EXTRA_INFO_COMMAND_FIELD |
static String |
REPORT_UPLOAD_PATH_FIELD |
Constructor and Description |
---|
DoctorConfig() |
Modifier and Type | Method and Description |
---|---|
abstract BuckConfig |
getDelegate() |
com.google.common.collect.ImmutableMap<String,String> |
getEndpointExtraRequestArgs() |
com.google.common.collect.ImmutableMap<String,String> |
getEndpointExtraRequestHeaders() |
long |
getEndpointTimeoutMs() |
Optional<String> |
getEndpointUrl() |
com.google.common.collect.ImmutableList<String> |
getExtraInfoCommand() |
Optional<SlbBuckConfig> |
getFrontendConfig() |
DoctorProtocolVersion |
getProtocolVersion() |
Optional<Long> |
getReportMaxSizeBytes() |
int |
getReportMaxUploadRetries() |
long |
getReportTimeoutMs() |
String |
getReportUploadPath() |
static DoctorConfig |
of(BuckConfig delegate) |
public static final String DOCTOR_SECTION
public static final String PROTOCOL_VERSION_FIELD
public static final String ENDPOINT_URL_FIELD
public static final String ENDPOINT_EXTRA_HEADERS_FIELD
public static final String REPORT_UPLOAD_PATH_FIELD
public static final String REPORT_EXTRA_INFO_COMMAND_FIELD
public static final long DEFAULT_ENDPOINT_TIMEOUT_MS
public static final long DEFAULT_REPORT_TIMEOUT_MS
public static final int DEFAULT_REPORT_MAX_UPLOAD_RETRIES
public static final String DEFAULT_REPORT_UPLOAD_PATH
public abstract BuckConfig getDelegate()
getDelegate
in interface ConfigView<BuckConfig>
public static DoctorConfig of(BuckConfig delegate)
@Value.Lazy public DoctorProtocolVersion getProtocolVersion()
@Value.Lazy public long getEndpointTimeoutMs()
@Value.Lazy public com.google.common.collect.ImmutableMap<String,String> getEndpointExtraRequestArgs()
@Value.Lazy public com.google.common.collect.ImmutableMap<String,String> getEndpointExtraRequestHeaders()
@Value.Lazy public String getReportUploadPath()
@Value.Lazy public long getReportTimeoutMs()
@Value.Lazy public int getReportMaxUploadRetries()
@Value.Lazy public Optional<SlbBuckConfig> getFrontendConfig()
@Value.Lazy public com.google.common.collect.ImmutableList<String> getExtraInfoCommand()