public class UtilizationService extends AbstractService
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DETECT_AWS_KEY |
static java.lang.String |
DETECT_AZURE_KEY |
static java.lang.String |
DETECT_DOCKER_KEY |
static java.lang.String |
DETECT_GOOGLE_CLOUD_PROVIDER_KEY |
static java.lang.String |
DETECT_KUBERNETES_KEY |
static java.lang.String |
DETECT_PIVOTAL_CLOUD_FOUNDRY_KEY |
protected UtilizationData |
utilizationData |
logger| Constructor and Description |
|---|
UtilizationService() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop() |
protected AWS.AwsData |
getAwsData() |
protected AzureAppService.AzureAppServiceData |
getAzureAppServiceData() |
protected Azure.AzureData |
getAzureData() |
protected GCP.GcpData |
getGcpData() |
protected PCF.PcfData |
getPcfData() |
boolean |
isEnabled()
Is the service enabled.
|
UtilizationData |
updateUtilizationData()
Updates utilization data asynchronously.
|
getLogger, getName, isStarted, isStartedOrStarting, isStopped, isStoppedOrStopping, start, stoppublic static final java.lang.String DETECT_AWS_KEY
public static final java.lang.String DETECT_DOCKER_KEY
public static final java.lang.String DETECT_PIVOTAL_CLOUD_FOUNDRY_KEY
public static final java.lang.String DETECT_GOOGLE_CLOUD_PROVIDER_KEY
public static final java.lang.String DETECT_AZURE_KEY
public static final java.lang.String DETECT_KUBERNETES_KEY
protected volatile UtilizationData utilizationData
public boolean isEnabled()
Servicetrue if the service is enabledprotected void doStart()
throws java.lang.Exception
doStart in class AbstractServicejava.lang.Exceptionprotected void doStop()
throws java.lang.Exception
doStop in class AbstractServicejava.lang.Exceptionpublic UtilizationData updateUtilizationData()
protected AWS.AwsData getAwsData()
protected PCF.PcfData getPcfData()
protected GCP.GcpData getGcpData()
protected Azure.AzureData getAzureData()
protected AzureAppService.AzureAppServiceData getAzureAppServiceData()