Package org.apache.pulsar.proxy.stats
Class ProxyStats
- java.lang.Object
-
- org.apache.pulsar.proxy.stats.ProxyStats
-
@Path("/") @Produces("application/json") public class ProxyStats extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringATTRIBUTE_PULSAR_PROXY_NAMEprotected javax.servlet.ServletContextservletContext
-
Constructor Summary
Constructors Constructor Description ProxyStats()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetProxyLogLevel(int logLevel)java.util.List<ConnectionStats>metrics()protected ProxyServiceproxyService()java.util.Map<java.lang.String,TopicStats>topics()voidupdateProxyLogLevel(int logLevel)
-
-
-
Field Detail
-
ATTRIBUTE_PULSAR_PROXY_NAME
public static final java.lang.String ATTRIBUTE_PULSAR_PROXY_NAME
- See Also:
- Constant Field Values
-
servletContext
@Context protected javax.servlet.ServletContext servletContext
-
-
Method Detail
-
metrics
@GET @Path("/connections") public java.util.List<ConnectionStats> metrics()
-
topics
@GET @Path("/topics") public java.util.Map<java.lang.String,TopicStats> topics()
-
updateProxyLogLevel
@POST @Path("/logging/{logLevel}") public void updateProxyLogLevel(@PathParam("logLevel") int logLevel)
-
getProxyLogLevel
@GET @Path("/logging") public int getProxyLogLevel(@PathParam("logLevel") int logLevel)
-
proxyService
protected ProxyService proxyService()
-
-