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
-
Method Summary
Modifier and TypeMethodDescriptionlong
static JvmUsage
populateFrom
(Map<String, Object> metrics) void
setThreadCount
(long threadCount)
-
Constructor Details
-
JvmUsage
public JvmUsage()
-
-
Method Details
-
getThreadCount
public long getThreadCount() -
setThreadCount
public void setThreadCount(long threadCount) -
populateFrom
-