Top Description Fields Constructors Methods
io.undertow.server.handlers.proxy.mod_cluster

pack-priv Class NodeLbStatus

extends Object
Class Inheritance

The load-balancing information of a node.
Author
Emanuel Muckenhuber

Field Summary

Modifier and TypeField and Description
private volatile int
private volatile int
private volatile int
private volatile int

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv synchronized void
public int
pack-priv synchronized int
public int
pack-priv synchronized int
getLbStatus()

Get the load balancing status.

pack-priv synchronized boolean
update()

Update the load balancing status.

pack-priv void
updateLoad(int load)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

electedback to summary
private volatile int elected
lbfactorback to summary
private volatile int lbfactor
lbstatusback to summary
private volatile int lbstatus
oldelectedback to summary
private volatile int oldelected

Constructor Detail

NodeLbStatusback to summary
pack-priv NodeLbStatus()

Method Detail

electedback to summary
pack-priv synchronized void elected()
getElectedback to summary
public int getElected()
getElectedDiffback to summary
pack-priv synchronized int getElectedDiff()
getLbFactorback to summary
public int getLbFactor()
getLbStatusback to summary
pack-priv synchronized int getLbStatus()

Get the load balancing status.

updateback to summary
pack-priv synchronized boolean update()

Update the load balancing status.

updateLoadback to summary
pack-priv void updateLoad(int load)