ILIAS  trunk Revision v11.0_alpha-1866-gfa368f7776e
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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.

Referenced by ilMemcacheNodesRepository\store().

35  : string
36  {
37  return $this->host;
38  }
+ Here is the caller graph for this function:

◆ getPort()

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

Definition at line 40 of file Node.php.

Referenced by ilMemcacheNodesRepository\store().

40  : int
41  {
42  return $this->port;
43  }
+ Here is the caller graph for this function:

◆ getWeight()

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

Definition at line 45 of file Node.php.

Referenced by ilMemcacheNodesRepository\store().

45  : ?int
46  {
47  return $this->weight;
48  }
+ Here is the caller graph for this function:

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