Class MetricAPI
- java.lang.Object
-
- org.wso2.carbon.prometheus.publisher.service.MetricAPI
-
- All Implemented Interfaces:
org.wso2.carbon.inbound.endpoint.internal.http.api.InternalAPI
public class MetricAPI extends Object implements org.wso2.carbon.inbound.endpoint.internal.http.api.InternalAPI
Internal API class for API exposing metric data
-
-
Constructor Summary
Constructors Constructor Description MetricAPI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContext()List<org.wso2.carbon.inbound.endpoint.internal.http.api.InternalAPIHandler>getHandlers()StringgetName()org.wso2.carbon.inbound.endpoint.internal.http.api.APIResource[]getResources()voidsetHandlers(List<org.wso2.carbon.inbound.endpoint.internal.http.api.InternalAPIHandler> handlerList)voidsetName(String name)
-
-
-
Method Detail
-
getResources
public org.wso2.carbon.inbound.endpoint.internal.http.api.APIResource[] getResources()
- Specified by:
getResourcesin interfaceorg.wso2.carbon.inbound.endpoint.internal.http.api.InternalAPI
-
getContext
public String getContext()
- Specified by:
getContextin interfaceorg.wso2.carbon.inbound.endpoint.internal.http.api.InternalAPI
-
getName
public String getName()
- Specified by:
getNamein interfaceorg.wso2.carbon.inbound.endpoint.internal.http.api.InternalAPI
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceorg.wso2.carbon.inbound.endpoint.internal.http.api.InternalAPI
-
setHandlers
public void setHandlers(List<org.wso2.carbon.inbound.endpoint.internal.http.api.InternalAPIHandler> handlerList)
- Specified by:
setHandlersin interfaceorg.wso2.carbon.inbound.endpoint.internal.http.api.InternalAPI
-
getHandlers
public List<org.wso2.carbon.inbound.endpoint.internal.http.api.InternalAPIHandler> getHandlers()
- Specified by:
getHandlersin interfaceorg.wso2.carbon.inbound.endpoint.internal.http.api.InternalAPI
-
-