Interface LoadManagerReport
-
- All Superinterfaces:
ServiceLookupData
public interface LoadManagerReport extends ServiceLookupData
This class represents the overall load of the broker - it includes overall SystemResourceUsage and Bundle-usage.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceUsagegetBandwidthIn()ResourceUsagegetBandwidthOut()java.lang.StringgetBrokerVersionString()java.util.Map<java.lang.String,NamespaceBundleStats>getBundleStats()ResourceUsagegetCpu()ResourceUsagegetDirectMemory()longgetLastUpdate()ResourceUsagegetMemory()doublegetMsgRateIn()doublegetMsgRateOut()doublegetMsgThroughputIn()doublegetMsgThroughputOut()intgetNumBundles()intgetNumConsumers()intgetNumProducers()intgetNumTopics()booleanisNonPersistentTopicsEnabled()booleanisPersistentTopicsEnabled()-
Methods inherited from interface org.apache.pulsar.policies.data.loadbalancer.ServiceLookupData
getProtocol, getProtocols, getPulsarServiceUrl, getPulsarServiceUrlTls, getWebServiceUrl, getWebServiceUrlTls
-
-
-
-
Method Detail
-
getCpu
ResourceUsage getCpu()
-
getMemory
ResourceUsage getMemory()
-
getDirectMemory
ResourceUsage getDirectMemory()
-
getBandwidthIn
ResourceUsage getBandwidthIn()
-
getBandwidthOut
ResourceUsage getBandwidthOut()
-
getLastUpdate
long getLastUpdate()
-
getBundleStats
java.util.Map<java.lang.String,NamespaceBundleStats> getBundleStats()
-
getNumTopics
int getNumTopics()
-
getNumBundles
int getNumBundles()
-
getNumConsumers
int getNumConsumers()
-
getNumProducers
int getNumProducers()
-
getMsgThroughputIn
double getMsgThroughputIn()
-
getMsgThroughputOut
double getMsgThroughputOut()
-
getMsgRateIn
double getMsgRateIn()
-
getMsgRateOut
double getMsgRateOut()
-
getBrokerVersionString
java.lang.String getBrokerVersionString()
-
isPersistentTopicsEnabled
boolean isPersistentTopicsEnabled()
-
isNonPersistentTopicsEnabled
boolean isNonPersistentTopicsEnabled()
-
-