Uses of Interface
org.apache.pulsar.broker.loadbalance.ResourceUnit
-
Packages that use ResourceUnit Package Description org.apache.pulsar.broker.admin.impl Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.org.apache.pulsar.broker.admin.v1 Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.org.apache.pulsar.broker.admin.v2 Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.org.apache.pulsar.broker.loadbalance Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.org.apache.pulsar.broker.loadbalance.impl 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 ResourceUnit Modifier and Type Method Description protected java.util.Map<java.lang.Long,java.util.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 ResourceUnit Modifier and Type Method Description java.util.Map<java.lang.Long,java.util.Collection<ResourceUnit>>BrokerStats. getBrokerResourceAvailability(java.lang.String property, java.lang.String cluster, java.lang.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 ResourceUnit Modifier and Type Method Description java.util.Map<java.lang.Long,java.util.Collection<ResourceUnit>>BrokerStats. getBrokerResourceAvailability(java.lang.String tenant, java.lang.String namespace) -
Uses of ResourceUnit in org.apache.pulsar.broker.loadbalance
Methods in org.apache.pulsar.broker.loadbalance that return ResourceUnit Modifier and Type Method Description ResourceUnitPlacementStrategy. findBrokerForPlacement(com.google.common.collect.Multimap<java.lang.Long,ResourceUnit> finalCandidates)ResourceUnitLoadReport. getResourceUnit()Methods in org.apache.pulsar.broker.loadbalance that return types with arguments of type ResourceUnit Modifier and Type Method Description java.util.Optional<ResourceUnit>LoadManager. getLeastLoaded(org.apache.pulsar.common.naming.ServiceUnitId su)Returns the Least Loaded Resource Unit decided by some algorithm or criteria which is implementation specific.java.util.Optional<ResourceUnit>NoopLoadManager. getLeastLoaded(org.apache.pulsar.common.naming.ServiceUnitId su)Method parameters in org.apache.pulsar.broker.loadbalance with type arguments of type ResourceUnit Modifier and Type Method Description ResourceUnitPlacementStrategy. findBrokerForPlacement(com.google.common.collect.Multimap<java.lang.Long,ResourceUnit> finalCandidates) -
Uses of ResourceUnit in org.apache.pulsar.broker.loadbalance.impl
Classes in org.apache.pulsar.broker.loadbalance.impl that implement ResourceUnit Modifier and Type Class Description classSimpleResourceUnitMethods in org.apache.pulsar.broker.loadbalance.impl that return ResourceUnit Modifier and Type Method Description ResourceUnitWRRPlacementStrategy. findBrokerForPlacement(com.google.common.collect.Multimap<java.lang.Long,ResourceUnit> finalCandidates)Function : getByWeightedRoundRobin returns ResourceUnit selected by WRR algorithm based on available resource on RU.ResourceUnitPulsarLoadReportImpl. getResourceUnit()Methods in org.apache.pulsar.broker.loadbalance.impl that return types with arguments of type ResourceUnit Modifier and Type Method Description java.util.Optional<ResourceUnit>ModularLoadManagerWrapper. getLeastLoaded(org.apache.pulsar.common.naming.ServiceUnitId serviceUnit)java.util.Optional<ResourceUnit>SimpleLoadManagerImpl. getLeastLoaded(org.apache.pulsar.common.naming.ServiceUnitId serviceUnit)com.google.common.collect.Multimap<java.lang.Long,ResourceUnit>SimpleLoadManagerImpl. getResourceAvailabilityFor(org.apache.pulsar.common.naming.ServiceUnitId serviceUnitId)Methods in org.apache.pulsar.broker.loadbalance.impl with parameters of type ResourceUnit Modifier and Type Method Description booleanSimpleResourceAllocationPolicies. canAssign(ServiceUnit srvUnit, ResourceUnit rescrUnit, java.util.Map<ResourceUnit,LoadReport> loadReports)intSimpleResourceUnit. compareTo(ResourceUnit o)Method parameters in org.apache.pulsar.broker.loadbalance.impl with type arguments of type ResourceUnit Modifier and Type Method Description booleanSimpleResourceAllocationPolicies. canAssign(ServiceUnit srvUnit, ResourceUnit rescrUnit, java.util.Map<ResourceUnit,LoadReport> loadReports)ResourceUnitWRRPlacementStrategy. findBrokerForPlacement(com.google.common.collect.Multimap<java.lang.Long,ResourceUnit> finalCandidates)Function : getByWeightedRoundRobin returns ResourceUnit selected by WRR algorithm based on available resource on RU.
-