Uses of Interface
org.apache.pulsar.broker.loadbalance.ResourceUnit
Packages that use ResourceUnit
Package
Description
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
-
Uses of ResourceUnit in org.apache.pulsar.broker.admin.impl
Methods in org.apache.pulsar.broker.admin.impl that return types with arguments of type ResourceUnitModifier and TypeMethodDescriptionprotected Map<Long,Collection<ResourceUnit>> BrokerStatsBase.internalBrokerResourceAvailability(org.apache.pulsar.common.naming.NamespaceName namespace) -
Uses of ResourceUnit in org.apache.pulsar.broker.admin.v1
Methods in org.apache.pulsar.broker.admin.v1 that return types with arguments of type ResourceUnitModifier and TypeMethodDescriptionBrokerStats.getBrokerResourceAvailability(String property, String cluster, String namespace) -
Uses of ResourceUnit in org.apache.pulsar.broker.admin.v2
Methods in org.apache.pulsar.broker.admin.v2 that return types with arguments of type ResourceUnitModifier and TypeMethodDescriptionBrokerStats.getBrokerResourceAvailability(String tenant, String namespace) -
Uses of ResourceUnit in org.apache.pulsar.broker.loadbalance
Methods in org.apache.pulsar.broker.loadbalance that return ResourceUnitModifier and TypeMethodDescriptionPlacementStrategy.findBrokerForPlacement(com.google.common.collect.Multimap<Long, ResourceUnit> finalCandidates) LoadReport.getResourceUnit()Methods in org.apache.pulsar.broker.loadbalance that return types with arguments of type ResourceUnitModifier and TypeMethodDescriptionLoadManager.getLeastLoaded(org.apache.pulsar.common.naming.ServiceUnitId su) Returns the Least Loaded Resource Unit decided by some algorithm or criteria which is implementation specific.NoopLoadManager.getLeastLoaded(org.apache.pulsar.common.naming.ServiceUnitId su) Method parameters in org.apache.pulsar.broker.loadbalance with type arguments of type ResourceUnitModifier and TypeMethodDescriptionPlacementStrategy.findBrokerForPlacement(com.google.common.collect.Multimap<Long, ResourceUnit> finalCandidates) -
Uses of ResourceUnit in org.apache.pulsar.broker.loadbalance.impl
Classes in org.apache.pulsar.broker.loadbalance.impl that implement ResourceUnitMethods in org.apache.pulsar.broker.loadbalance.impl that return ResourceUnitModifier and TypeMethodDescriptionWRRPlacementStrategy.findBrokerForPlacement(com.google.common.collect.Multimap<Long, ResourceUnit> finalCandidates) Function : getByWeightedRoundRobin returns ResourceUnit selected by WRR algorithm based on available resource on RU.PulsarLoadReportImpl.getResourceUnit()Methods in org.apache.pulsar.broker.loadbalance.impl that return types with arguments of type ResourceUnitModifier and TypeMethodDescriptionModularLoadManagerWrapper.getLeastLoaded(org.apache.pulsar.common.naming.ServiceUnitId serviceUnit) SimpleLoadManagerImpl.getLeastLoaded(org.apache.pulsar.common.naming.ServiceUnitId serviceUnit) com.google.common.collect.Multimap<Long,ResourceUnit> SimpleLoadManagerImpl.getResourceAvailabilityFor(org.apache.pulsar.common.naming.ServiceUnitId serviceUnitId) Methods in org.apache.pulsar.broker.loadbalance.impl with parameters of type ResourceUnitModifier and TypeMethodDescriptionbooleanSimpleResourceAllocationPolicies.canAssign(ServiceUnit srvUnit, ResourceUnit rescrUnit, Map<ResourceUnit, LoadReport> loadReports) intSimpleResourceUnit.compareTo(ResourceUnit o) Method parameters in org.apache.pulsar.broker.loadbalance.impl with type arguments of type ResourceUnitModifier and TypeMethodDescriptionbooleanSimpleResourceAllocationPolicies.canAssign(ServiceUnit srvUnit, ResourceUnit rescrUnit, Map<ResourceUnit, LoadReport> loadReports) WRRPlacementStrategy.findBrokerForPlacement(com.google.common.collect.Multimap<Long, ResourceUnit> finalCandidates) Function : getByWeightedRoundRobin returns ResourceUnit selected by WRR algorithm based on available resource on RU.