public class WebAppServiceMethods extends java.lang.Object implements WebAppServiceConstants
WebAppServiceMetrics.Initializer
Modifier and Type | Field and Description |
---|---|
static Duration |
DEFAULT_WINDOW_DURATION |
ENABLED_PROTOCOLS, HTTP_PORT, HTTPS_PORT, HTTPS_SSL_CONFIG, ROOT_URL
BYTES_RECEIVED, BYTES_SENT, ERROR_COUNT, MAX_PROCESSING_TIME, PROCESSING_TIME_FRACTION_IN_WINDOW, PROCESSING_TIME_FRACTION_LAST, REQUEST_COUNT, REQUESTS_PER_SECOND_IN_WINDOW, REQUESTS_PER_SECOND_LAST, TOTAL_PROCESSING_TIME
Constructor and Description |
---|
WebAppServiceMethods() |
Modifier and Type | Method and Description |
---|---|
static void |
connectWebAppServerPolicies(EntityLocal entity) |
static void |
connectWebAppServerPolicies(EntityLocal entity,
Duration windowPeriod) |
static java.util.Set<java.lang.String> |
getEnabledProtocols(Entity entity) |
static java.lang.String |
inferBrooklynAccessibleRootUrl(Entity entity) |
static boolean |
isProtocolEnabled(Entity entity,
java.lang.String protocol) |
public static final Duration DEFAULT_WINDOW_DURATION
public static void connectWebAppServerPolicies(EntityLocal entity)
public static void connectWebAppServerPolicies(EntityLocal entity, Duration windowPeriod)
public static java.util.Set<java.lang.String> getEnabledProtocols(Entity entity)
public static boolean isProtocolEnabled(Entity entity, java.lang.String protocol)
public static java.lang.String inferBrooklynAccessibleRootUrl(Entity entity)