@Path(value="/") @Produces(value="application/json") public class ProxyStats extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTE_PULSAR_PROXY_NAME |
protected javax.servlet.ServletContext |
servletContext |
| Constructor and Description |
|---|
ProxyStats() |
| Modifier and Type | Method and Description |
|---|---|
int |
getProxyLogLevel(int logLevel) |
List<ConnectionStats> |
metrics() |
protected ProxyService |
proxyService() |
Map<String,TopicStats> |
topics() |
void |
updateProxyLogLevel(int logLevel) |
public static final String ATTRIBUTE_PULSAR_PROXY_NAME
@Context protected javax.servlet.ServletContext servletContext
@GET @Path(value="/connections") public List<ConnectionStats> metrics()
@GET @Path(value="/topics") public Map<String,TopicStats> topics()
@POST
@Path(value="/logging/{logLevel}")
public void updateProxyLogLevel(@PathParam(value="logLevel")
int logLevel)
@GET
@Path(value="/logging")
public int getProxyLogLevel(@PathParam(value="logLevel")
int logLevel)
protected ProxyService proxyService()
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.