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 String
getContext()
List<org.wso2.carbon.inbound.endpoint.internal.http.api.InternalAPIHandler>
getHandlers()
String
getName()
org.wso2.carbon.inbound.endpoint.internal.http.api.APIResource[]
getResources()
void
setHandlers(List<org.wso2.carbon.inbound.endpoint.internal.http.api.InternalAPIHandler> handlerList)
void
setName(String name)
-
-
-
Method Detail
-
getResources
public org.wso2.carbon.inbound.endpoint.internal.http.api.APIResource[] getResources()
- Specified by:
getResources
in interfaceorg.wso2.carbon.inbound.endpoint.internal.http.api.InternalAPI
-
getContext
public String getContext()
- Specified by:
getContext
in interfaceorg.wso2.carbon.inbound.endpoint.internal.http.api.InternalAPI
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.wso2.carbon.inbound.endpoint.internal.http.api.InternalAPI
-
setName
public void setName(String name)
- Specified by:
setName
in 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:
setHandlers
in interfaceorg.wso2.carbon.inbound.endpoint.internal.http.api.InternalAPI
-
getHandlers
public List<org.wso2.carbon.inbound.endpoint.internal.http.api.InternalAPIHandler> getHandlers()
- Specified by:
getHandlers
in interfaceorg.wso2.carbon.inbound.endpoint.internal.http.api.InternalAPI
-
-