Skip navigation links
A B D E F G H I L O P R S T U V W 

A

AbstractLoadBalancer - Class in org.apache.shenyu.loadbalancer.spi
The type Abstract load balancer.
AbstractLoadBalancer() - Constructor for class org.apache.shenyu.loadbalancer.spi.AbstractLoadBalancer
 

B

build() - Method in class org.apache.shenyu.loadbalancer.entity.Upstream.Builder
build new Object.
buildDomain() - Method in class org.apache.shenyu.loadbalancer.entity.Upstream
build request domain.
builder() - Static method in class org.apache.shenyu.loadbalancer.entity.Upstream
class builder.

D

doSelect(List<Upstream>, String) - Method in class org.apache.shenyu.loadbalancer.spi.AbstractLoadBalancer
Do select upstream.
doSelect(List<Upstream>, String) - Method in class org.apache.shenyu.loadbalancer.spi.HashLoadBalancer
consistent hash with virtual node to select upstream.
doSelect(List<Upstream>, String) - Method in class org.apache.shenyu.loadbalancer.spi.LeastActiveLoadBalance
 
doSelect(List<Upstream>, String) - Method in class org.apache.shenyu.loadbalancer.spi.P2cLoadBalancer
pick of 2 choices to select upstream.
doSelect(List<Upstream>, String) - Method in class org.apache.shenyu.loadbalancer.spi.RandomLoadBalancer
 
doSelect(List<Upstream>, String) - Method in class org.apache.shenyu.loadbalancer.spi.RoundRobinLoadBalancer
 
doSelect(List<Upstream>, String) - Method in class org.apache.shenyu.loadbalancer.spi.ShortestResponseLoadBalancer
 

E

equals(Object) - Method in class org.apache.shenyu.loadbalancer.cache.UpstreamWithSelectorId
 
equals(Object) - Method in class org.apache.shenyu.loadbalancer.entity.Upstream
 

F

findUpstreamListBySelectorId(String) - Method in class org.apache.shenyu.loadbalancer.cache.UpstreamCacheManager
Find upstream list by selector id list.

G

getCheckStarted() - Method in class org.apache.shenyu.loadbalancer.cache.UpstreamCheckTask
get checkStarted.
getGroup() - Method in class org.apache.shenyu.loadbalancer.entity.Upstream
Gets group.
getHealthyUpstream() - Method in class org.apache.shenyu.loadbalancer.cache.UpstreamCheckTask
Get healthy upstream map.
getInflight() - Method in class org.apache.shenyu.loadbalancer.entity.Upstream
Gets inflight.
getInstance() - Static method in class org.apache.shenyu.loadbalancer.cache.UpstreamCacheManager
Gets instance.
getLag() - Method in class org.apache.shenyu.loadbalancer.entity.Upstream
Gets lag.
getLastHealthTimestamp() - Method in class org.apache.shenyu.loadbalancer.entity.Upstream
Gets last health timestamp.
getLastPicked() - Method in class org.apache.shenyu.loadbalancer.entity.Upstream
Gets lastPickedStamp.
getLastUnhealthyTimestamp() - Method in class org.apache.shenyu.loadbalancer.entity.Upstream
Gets last unhealthy timestamp.
getPoolSize() - Method in class org.apache.shenyu.loadbalancer.cache.UpstreamCheckTask
get checkThreadPoolSize.
getProtocol() - Method in class org.apache.shenyu.loadbalancer.entity.Upstream
Gets protocol.
getResponseStamp() - Method in class org.apache.shenyu.loadbalancer.entity.Upstream
Gets responseStamp.
getSelectorId() - Method in class org.apache.shenyu.loadbalancer.cache.UpstreamWithSelectorId
get selectorId.
getSucceeded() - Method in class org.apache.shenyu.loadbalancer.entity.Upstream
Gets succeeded.
getSucceededAverageElapsed() - Method in class org.apache.shenyu.loadbalancer.entity.Upstream
Gets succeededAverageElapsed.
getSucceededElapsed() - Method in class org.apache.shenyu.loadbalancer.entity.Upstream
Gets succeededElapsed.
getTimestamp() - Method in class org.apache.shenyu.loadbalancer.entity.Upstream
Gets timestamp.
getUnhealthyUpstream() - Method in class org.apache.shenyu.loadbalancer.cache.UpstreamCheckTask
Get unhealthy upstream map.
getUpstream() - Method in class org.apache.shenyu.loadbalancer.cache.UpstreamWithSelectorId
get upstream.
getUrl() - Method in class org.apache.shenyu.loadbalancer.entity.Upstream
Gets url.
getVersion() - Method in class org.apache.shenyu.loadbalancer.entity.Upstream
Gets version.
getWarmup() - Method in class org.apache.shenyu.loadbalancer.entity.Upstream
Gets warmup.
getWeight() - Method in class org.apache.shenyu.loadbalancer.entity.Upstream
get weight.
getWeight(Upstream) - Method in class org.apache.shenyu.loadbalancer.spi.AbstractLoadBalancer
 
group(String) - Method in class org.apache.shenyu.loadbalancer.entity.Upstream.Builder
build group.

H

hashCode() - Method in class org.apache.shenyu.loadbalancer.cache.UpstreamWithSelectorId
 
hashCode() - Method in class org.apache.shenyu.loadbalancer.entity.Upstream
 
HashLoadBalancer - Class in org.apache.shenyu.loadbalancer.spi
hash algorithm impl.
HashLoadBalancer() - Constructor for class org.apache.shenyu.loadbalancer.spi.HashLoadBalancer
 

I

isHealthy() - Method in class org.apache.shenyu.loadbalancer.entity.Upstream
Is healthy boolean.
isStatus() - Method in class org.apache.shenyu.loadbalancer.entity.Upstream
Is status boolean.

L

LeastActiveLoadBalance - Class in org.apache.shenyu.loadbalancer.spi
least active algorithm impl.
LeastActiveLoadBalance() - Constructor for class org.apache.shenyu.loadbalancer.spi.LeastActiveLoadBalance
 
load(Upstream) - Method in class org.apache.shenyu.loadbalancer.spi.P2cLoadBalancer
calculate load.
LoadBalancer - Interface in org.apache.shenyu.loadbalancer.spi
LoadBalancer interface spi.
LoadBalancerFactory - Class in org.apache.shenyu.loadbalancer.factory
The type Load balance Factory.

O

org.apache.shenyu.loadbalancer.cache - package org.apache.shenyu.loadbalancer.cache
 
org.apache.shenyu.loadbalancer.entity - package org.apache.shenyu.loadbalancer.entity
 
org.apache.shenyu.loadbalancer.factory - package org.apache.shenyu.loadbalancer.factory
 
org.apache.shenyu.loadbalancer.spi - package org.apache.shenyu.loadbalancer.spi
 

P

P2cLoadBalancer - Class in org.apache.shenyu.loadbalancer.spi
p2c algorithm impl.
P2cLoadBalancer() - Constructor for class org.apache.shenyu.loadbalancer.spi.P2cLoadBalancer
 
print() - Method in class org.apache.shenyu.loadbalancer.cache.UpstreamCheckTask
Print healthy and unhealthy check log.
protocol(String) - Method in class org.apache.shenyu.loadbalancer.entity.Upstream.Builder
build protocol.

R

RandomLoadBalancer - Class in org.apache.shenyu.loadbalancer.spi
random algorithm impl.
RandomLoadBalancer() - Constructor for class org.apache.shenyu.loadbalancer.spi.RandomLoadBalancer
 
removeByKey(String) - Method in class org.apache.shenyu.loadbalancer.cache.UpstreamCacheManager
Remove by key.
RoundRobinLoadBalancer - Class in org.apache.shenyu.loadbalancer.spi
Round-robin load balance impl.
RoundRobinLoadBalancer() - Constructor for class org.apache.shenyu.loadbalancer.spi.RoundRobinLoadBalancer
 
RoundRobinLoadBalancer.WeightedRoundRobin - Class in org.apache.shenyu.loadbalancer.spi
The type Weighted round-robin.
run() - Method in class org.apache.shenyu.loadbalancer.cache.UpstreamCheckTask
 

S

schedule() - Method in class org.apache.shenyu.loadbalancer.cache.UpstreamCheckTask
Schedule health check task.
select(List<Upstream>, String) - Method in class org.apache.shenyu.loadbalancer.spi.AbstractLoadBalancer
 
select(List<Upstream>, String) - Method in interface org.apache.shenyu.loadbalancer.spi.LoadBalancer
this is select one for upstream list.
selector(List<Upstream>, String, String) - Static method in class org.apache.shenyu.loadbalancer.factory.LoadBalancerFactory
Selector upstream.
setCheckTimeout(int) - Method in class org.apache.shenyu.loadbalancer.cache.UpstreamCheckTask
Set check timeout.
setGroup(String) - Method in class org.apache.shenyu.loadbalancer.entity.Upstream
Sets group.
setHealthy(boolean) - Method in class org.apache.shenyu.loadbalancer.entity.Upstream
Sets healthy.
setHealthyThreshold(int) - Method in class org.apache.shenyu.loadbalancer.cache.UpstreamCheckTask
Set healthy threshold.
setInflight(AtomicLong) - Method in class org.apache.shenyu.loadbalancer.entity.Upstream
Sets inflight.
setLag(long) - Method in class org.apache.shenyu.loadbalancer.entity.Upstream
Sets lag.
setLastHealthTimestamp(long) - Method in class org.apache.shenyu.loadbalancer.entity.Upstream
Sets last health timestamp.
setLastPicked(long) - Method in class org.apache.shenyu.loadbalancer.entity.Upstream
Sets lastPickedStamp.
setLastUnhealthyTimestamp(long) - Method in class org.apache.shenyu.loadbalancer.entity.Upstream
Sets last unhealthy timestamp.
setPoolSize(int) - Method in class org.apache.shenyu.loadbalancer.cache.UpstreamCheckTask
set checkThreadPoolSize.
setResponseStamp(long) - Method in class org.apache.shenyu.loadbalancer.entity.Upstream
Sets responseStamp.
setSelectorId(String) - Method in class org.apache.shenyu.loadbalancer.cache.UpstreamWithSelectorId
set selectorId.
setStatus(boolean) - Method in class org.apache.shenyu.loadbalancer.entity.Upstream
Sets status.
setUnhealthyThreshold(int) - Method in class org.apache.shenyu.loadbalancer.cache.UpstreamCheckTask
Set unhealthy threshold.
setUpstream(Upstream) - Method in class org.apache.shenyu.loadbalancer.cache.UpstreamWithSelectorId
set upstream.
setUrl(String) - Method in class org.apache.shenyu.loadbalancer.entity.Upstream
Sets url.
setVersion(String) - Method in class org.apache.shenyu.loadbalancer.entity.Upstream
Sets version.
ShortestResponseLoadBalancer - Class in org.apache.shenyu.loadbalancer.spi
shortestResponse algorithm impl.
ShortestResponseLoadBalancer() - Constructor for class org.apache.shenyu.loadbalancer.spi.ShortestResponseLoadBalancer
 
status(boolean) - Method in class org.apache.shenyu.loadbalancer.entity.Upstream.Builder
build status.
submit(String, List<Upstream>) - Method in class org.apache.shenyu.loadbalancer.cache.UpstreamCacheManager
Submit .

T

timestamp(long) - Method in class org.apache.shenyu.loadbalancer.entity.Upstream.Builder
build timestamp.
toString() - Method in class org.apache.shenyu.loadbalancer.cache.UpstreamWithSelectorId
 
toString() - Method in class org.apache.shenyu.loadbalancer.entity.Upstream
 
triggerAddOne(String, Upstream) - Method in class org.apache.shenyu.loadbalancer.cache.UpstreamCheckTask
Add one upstream via selectorData.
triggerRemoveAll(String) - Method in class org.apache.shenyu.loadbalancer.cache.UpstreamCheckTask
Remove all upstream via selectorId.
triggerRemoveOne(String, Upstream) - Method in class org.apache.shenyu.loadbalancer.cache.UpstreamCheckTask
Remove a specific upstream via selectorId.

U

Upstream - Class in org.apache.shenyu.loadbalancer.entity
this is upstream.
Upstream.Builder - Class in org.apache.shenyu.loadbalancer.entity
class builder.
UpstreamCacheManager - Class in org.apache.shenyu.loadbalancer.cache
this is upstream .
UpstreamCheckTask - Class in org.apache.shenyu.loadbalancer.cache
Health check manager for upstream servers.
UpstreamCheckTask(int) - Constructor for class org.apache.shenyu.loadbalancer.cache.UpstreamCheckTask
Instantiates a new Upstream check task.
UpstreamWithSelectorId - Class in org.apache.shenyu.loadbalancer.cache
The type Upstream with selector id.
UpstreamWithSelectorId(String, Upstream) - Constructor for class org.apache.shenyu.loadbalancer.cache.UpstreamWithSelectorId
all args constructor.
url(String) - Method in class org.apache.shenyu.loadbalancer.entity.Upstream.Builder
build url.

V

version(String) - Method in class org.apache.shenyu.loadbalancer.entity.Upstream.Builder
build version.

W

warmup(int) - Method in class org.apache.shenyu.loadbalancer.entity.Upstream.Builder
build warmup.
weight(int) - Method in class org.apache.shenyu.loadbalancer.entity.Upstream.Builder
build weight.
WeightedRoundRobin() - Constructor for class org.apache.shenyu.loadbalancer.spi.RoundRobinLoadBalancer.WeightedRoundRobin
 
A B D E F G H I L O P R S T U V W 
Skip navigation links

Copyright © 2023 The Apache Software Foundation. All rights reserved.