@Immutable public class HttpProviderSpec extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HttpProviderSpec.ConnectionParameters |
static class |
HttpProviderSpec.Node |
static class |
HttpProviderSpec.Type |
Modifier and Type | Field and Description |
---|---|
Integer |
cacheSizeMB |
double |
cacheWeight |
HttpProviderSpec.ConnectionParameters |
connectionParameters |
List<HttpProviderSpec.Node> |
nodes |
String |
path |
String |
ycaApplicationId |
Integer |
ycaCertificateTtl |
HttpProviderSpec.Node |
ycaProxy |
Integer |
ycaRetryWait |
Constructor and Description |
---|
HttpProviderSpec(Double cacheWeight,
String path,
List<HttpProviderSpec.Node> nodes,
String ycaApplicationId,
Integer ycaCertificateTtl,
Integer ycaRetryWait,
HttpProviderSpec.Node ycaProxy,
Integer cacheSizeMB,
HttpProviderSpec.ConnectionParameters connectionParameters) |
Modifier and Type | Method and Description |
---|---|
static boolean |
includesType(String typeString) |
static com.yahoo.container.bundle.BundleInstantiationSpecification |
toBundleInstantiationSpecification(HttpProviderSpec.Type type) |
private List<HttpProviderSpec.Node> |
unmodifiable(List<HttpProviderSpec.Node> nodes) |
public final HttpProviderSpec.ConnectionParameters connectionParameters
public final Integer cacheSizeMB
public final String path
public final List<HttpProviderSpec.Node> nodes
public final String ycaApplicationId
public final Integer ycaCertificateTtl
public final Integer ycaRetryWait
public final HttpProviderSpec.Node ycaProxy
public final double cacheWeight
public HttpProviderSpec(Double cacheWeight, String path, List<HttpProviderSpec.Node> nodes, String ycaApplicationId, Integer ycaCertificateTtl, Integer ycaRetryWait, HttpProviderSpec.Node ycaProxy, Integer cacheSizeMB, HttpProviderSpec.ConnectionParameters connectionParameters)
public static com.yahoo.container.bundle.BundleInstantiationSpecification toBundleInstantiationSpecification(HttpProviderSpec.Type type)
public static boolean includesType(String typeString)
private List<HttpProviderSpec.Node> unmodifiable(List<HttpProviderSpec.Node> nodes)
Copyright © 2017. All rights reserved.