public class DefaultHealthCheck extends Object implements com.mulesoft.mule.runtime.gw.api.agent.HealthCheck
| Constructor and Description |
|---|
DefaultHealthCheck(ApiService apiService) |
| Modifier and Type | Method and Description |
|---|---|
protected org.mule.runtime.api.healthcheck.ReadyStatus |
applicationTrafficAllowed(String applicationName) |
org.mule.runtime.api.healthcheck.HealthCheckValidator |
getApiValidator(Long apiId) |
org.mule.runtime.api.healthcheck.HealthCheckValidator |
getValidator(String applicationName) |
protected org.mule.runtime.api.healthcheck.ReadyStatus |
isApiTrafficAllowed(Long apiId) |
boolean |
isApplicationTrafficAllowed(String applicationName) |
boolean |
isInstanceTrafficAllowed() |
public DefaultHealthCheck(ApiService apiService)
public boolean isInstanceTrafficAllowed()
isInstanceTrafficAllowed in interface com.mulesoft.mule.runtime.gw.api.agent.HealthCheckprotected org.mule.runtime.api.healthcheck.ReadyStatus isApiTrafficAllowed(Long apiId)
protected org.mule.runtime.api.healthcheck.ReadyStatus applicationTrafficAllowed(String applicationName)
public boolean isApplicationTrafficAllowed(String applicationName)
isApplicationTrafficAllowed in interface com.mulesoft.mule.runtime.gw.api.agent.HealthCheckpublic org.mule.runtime.api.healthcheck.HealthCheckValidator getValidator(String applicationName)
getValidator in interface com.mulesoft.mule.runtime.gw.api.agent.HealthCheckpublic org.mule.runtime.api.healthcheck.HealthCheckValidator getApiValidator(Long apiId)
getApiValidator in interface com.mulesoft.mule.runtime.gw.api.agent.HealthCheckCopyright © 2014–2022 MuleSoft, Inc.. All rights reserved.