ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Cache\Nodes\Node Class Reference
+ Collaboration diagram for ILIAS\Cache\Nodes\Node:

Public Member Functions

 __construct (private string $host, private int $port, private ?int $weight=null)
 
 getHost ()
 
 getPort ()
 
 getWeight ()
 

Detailed Description

Author
Fabian Schmid fabia.nosp@m.n@sr.nosp@m..solu.nosp@m.tion.nosp@m.s

Definition at line 26 of file Node.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Cache\Nodes\Node::__construct ( private string  $host,
private int  $port,
private ?int  $weight = null 
)

Definition at line 28 of file Node.php.

32 {
33 }

Member Function Documentation

◆ getHost()

ILIAS\Cache\Nodes\Node::getHost ( )

Definition at line 35 of file Node.php.

35 : string
36 {
37 return $this->host;
38 }

Referenced by ilMemcacheNodesRepository\store().

+ Here is the caller graph for this function:

◆ getPort()

ILIAS\Cache\Nodes\Node::getPort ( )

Definition at line 40 of file Node.php.

40 : int
41 {
42 return $this->port;
43 }

Referenced by ilMemcacheNodesRepository\store().

+ Here is the caller graph for this function:

◆ getWeight()

ILIAS\Cache\Nodes\Node::getWeight ( )

Definition at line 45 of file Node.php.

45 : ?int
46 {
47 return $this->weight;
48 }

Referenced by ilMemcacheNodesRepository\store().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: