PHP Class AppserverIo\Appserver\Core\Api\Node\StorageNode

Inheritance: extends AppserverIo\Description\Api\Node\AbstractNode
Show file Open project: appserver-io/appserver

Protected Properties

Property Type Description
$storageServers array Array with the servers used by the storage.
$type string The storage class name.

Public Methods

Method Description
__construct ( string $type = '', array $storageServers = [] ) Initializes the storage configuration with the passed values.
getPrimaryKey ( ) : string Returns the nodes primary key, the name by default.
getStorageServers ( ) : array Returns the array with the servers used by the storage.
getType ( ) : string Returns the class name.

Method Details

__construct() public method

Initializes the storage configuration with the passed values.
public __construct ( string $type = '', array $storageServers = [] )
$type string The manager class name
$storageServers array The array with the storage servers

getPrimaryKey() public method

Returns the nodes primary key, the name by default.
See also: AppserverIo\Appserver\Core\Api\Node\AbstractNode::getPrimaryKey()
public getPrimaryKey ( ) : string
return string The nodes primary key

getStorageServers() public method

Returns the array with the servers used by the storage.
public getStorageServers ( ) : array
return array The servers used by the storage

getType() public method

Returns the class name.
public getType ( ) : string
return string The class name

Property Details

$storageServers protected property

Array with the servers used by the storage.
protected array $storageServers
return array

$type protected property

The storage class name.
protected string $type
return string