ManagerStatus
Table of Contents
- $addr : string|null
- The IP address and port at which the manager is reachable.
- $leader : bool|null
- $reachability : string|null
- Reachability represents the reachability of a node.
- getAddr() : string|null
- The IP address and port at which the manager is reachable.
- getLeader() : bool|null
- getReachability() : string|null
- Reachability represents the reachability of a node.
- setAddr() : self
- The IP address and port at which the manager is reachable.
- setLeader() : self
- setReachability() : self
- Reachability represents the reachability of a node.
Properties
$addr
The IP address and port at which the manager is reachable.
protected
string|null
$addr
$leader
protected
bool|null
$leader
= false
$reachability
Reachability represents the reachability of a node.
protected
string|null
$reachability
Methods
getAddr()
The IP address and port at which the manager is reachable.
public
getAddr() : string|null
Return values
string|null —getLeader()
public
getLeader() : bool|null
Return values
bool|null —getReachability()
Reachability represents the reachability of a node.
public
getReachability() : string|null
Return values
string|null —setAddr()
The IP address and port at which the manager is reachable.
public
setAddr(string|null $addr) : self
Parameters
- $addr : string|null
Return values
self —setLeader()
public
setLeader(bool|null $leader) : self
Parameters
- $leader : bool|null
Return values
self —setReachability()
Reachability represents the reachability of a node.
public
setReachability(string|null $reachability) : self
Parameters
- $reachability : string|null