Class JvmUsage
java.lang.Object
org.apache.pulsar.policies.data.loadbalancer.JvmUsage
JvmUsage represents set of resources that are specific to JVM and are used by broker, load balancing need to
know this detail.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongstatic JvmUsagepopulateFrom(Map<String, Object> metrics) voidsetThreadCount(long threadCount)
-
Constructor Details
-
JvmUsage
public JvmUsage()
-
-
Method Details
-
getThreadCount
public long getThreadCount() -
setThreadCount
public void setThreadCount(long threadCount) -
populateFrom
-