public class ZombieUpstream
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ZombieUpstream.Builder
class builder.
|
| Constructor and Description |
|---|
ZombieUpstream()
no args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ZombieUpstream.Builder |
builder()
class builder.
|
boolean |
equals(java.lang.Object o) |
CommonUpstream |
getCommonUpstream()
get commonUpstream.
|
java.lang.String |
getSelectorId()
get selectorId.
|
int |
getZombieCheckTimes()
get zombieCheckTimes.
|
int |
hashCode() |
void |
setCommonUpstream(CommonUpstream commonUpstream)
set commonUpstream.
|
void |
setSelectorName(java.lang.String selectorId)
set selectorId.
|
void |
setZombieCheckTimes(int zombieCheckTimes)
set zombieCheckTimes.
|
java.lang.String |
toString() |
static ZombieUpstream |
transform(CommonUpstream commonUpstream,
int zombieCheckTimes,
java.lang.String selectorId)
create zombie upstream with Common upstream.
|
public static ZombieUpstream.Builder builder()
public CommonUpstream getCommonUpstream()
public void setCommonUpstream(CommonUpstream commonUpstream)
commonUpstream - commonUpstreampublic int getZombieCheckTimes()
public void setZombieCheckTimes(int zombieCheckTimes)
zombieCheckTimes - zombieCheckTimespublic java.lang.String getSelectorId()
public void setSelectorName(java.lang.String selectorId)
selectorId - selectorIdpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic static ZombieUpstream transform(CommonUpstream commonUpstream, int zombieCheckTimes, java.lang.String selectorId)
commonUpstream - CommonUpstream origin divide upstream.zombieCheckTimes - total check times.selectorId - origin selector id.Copyright © 2024 The Apache Software Foundation. All rights reserved.