class Follower extends Statistic

Statistic die von einem Leader ├╝ber die Follower erzeugt wird.

Properties

protected string $name from Statistic
protected integer $failCount
protected integer $successCount
protected Latency $latency

Methods

__construct(string $name = null)

Name

string
getName()

Name

from Statistic
setName(string $name)

Name

from Statistic
integer
getFailCount()

getFailCount

integer
getSuccessCount()

getSuccessCount

getLatency()

Latency

setFailCount(integer $failCount)

setFailCount

setSuccessCount(integer $successCount)

setSuccessCount

setLatency(Latency $latency)

setLatency

static Node
getInstanceFromArray(Array|ArrayHelper $array)

Objekt aus Array

Details

at line 60
__construct(string $name = null)

Name

Parameters

string $name der Node

in Statistic at line 60
string getName()

Name

Return Value

string Name

in Statistic at line 71
Statistic setName(string $name)

Name

Parameters

string $name Name

Return Value

Statistic

at line 73
integer getFailCount()

getFailCount

Return Value

integer

at line 82
integer getSuccessCount()

getSuccessCount

Return Value

integer

at line 91
Latency getLatency()

Latency

Return Value

Latency

at line 102
protected Statistic setFailCount(integer $failCount)

setFailCount

Parameters

integer $failCount

Return Value

Statistic

at line 114
protected Statistic setSuccessCount(integer $successCount)

setSuccessCount

Parameters

integer $successCount

Return Value

Statistic

at line 126
protected Statistic setLatency(Latency $latency)

setLatency

Parameters

Latency $latency

Return Value

Statistic

at line 138
static Node getInstanceFromArray(Array|ArrayHelper $array)

Objekt aus Array

Parameters

Array|ArrayHelper $array

Return Value

Node