PHP Класс Basho\Riak\Node

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$config Basho\Riak\Node\Config | null Contains configuration needed to connect to a Riak node.
$inactive boolean This is only set to true if the node has been marked as unreachable.
$signature string This property is used to store a stateless unique identifier for this node.

Открытые методы

Метод Описание
__construct ( Config $config )
execute ( Basho\Riak\Command $command, Basho\Riak\Api $api ) : Basho\Riak\Command\Response
getCaDirectory ( )
getCaFile ( )
getCertificate ( ) : string getCertificate
getCertificatePassword ( )
getConfig ( ) : Config | null
getHost ( ) : string
getPassword ( ) : string getPassword
getPort ( ) : integer
getPrivateKey ( ) : string getPrivateKey
getPrivateKeyPassword ( ) : string getPrivateKeyPassword
getSignature ( ) : string
getStreamTimeout ( ) : integer
getTimeout ( ) : integer
getUri ( ) : string Returns host:port for Node
getUserName ( ) : string getUserName
isInactive ( ) : boolean
setInactive ( boolean $inactive )
useTls ( ) : boolean useTls

Приватные методы

Метод Описание
setSignature ( ) This should NEVER be invoked outside of this object.

Описание методов

__construct() публичный Метод

public __construct ( Config $config )
$config Basho\Riak\Node\Config

execute() публичный Метод

public execute ( Basho\Riak\Command $command, Basho\Riak\Api $api ) : Basho\Riak\Command\Response
$command Basho\Riak\Command
$api Basho\Riak\Api
Результат Basho\Riak\Command\Response

getCaDirectory() публичный Метод

public getCaDirectory ( )

getCaFile() публичный Метод

public getCaFile ( )

getCertificate() публичный Метод

getCertificate
public getCertificate ( ) : string
Результат string

getCertificatePassword() публичный Метод

getConfig() публичный Метод

public getConfig ( ) : Config | null
Результат Basho\Riak\Node\Config | null

getHost() публичный Метод

public getHost ( ) : string
Результат string

getPassword() публичный Метод

getPassword
public getPassword ( ) : string
Результат string

getPort() публичный Метод

public getPort ( ) : integer
Результат integer

getPrivateKey() публичный Метод

getPrivateKey
public getPrivateKey ( ) : string
Результат string

getPrivateKeyPassword() публичный Метод

getPrivateKeyPassword
public getPrivateKeyPassword ( ) : string
Результат string

getSignature() публичный Метод

public getSignature ( ) : string
Результат string

getStreamTimeout() публичный Метод

public getStreamTimeout ( ) : integer
Результат integer

getTimeout() публичный Метод

public getTimeout ( ) : integer
Результат integer

getUri() публичный Метод

Returns host:port for Node
public getUri ( ) : string
Результат string

getUserName() публичный Метод

getUserName
public getUserName ( ) : string
Результат string

isInactive() публичный Метод

public isInactive ( ) : boolean
Результат boolean

setInactive() публичный Метод

public setInactive ( boolean $inactive )
$inactive boolean

useTls() публичный Метод

useTls
public useTls ( ) : boolean
Результат boolean

Описание свойств

$config защищенное свойство

Contains configuration needed to connect to a Riak node.
protected Config,Basho\Riak\Node|null $config
Результат Basho\Riak\Node\Config | null

$inactive защищенное свойство

This is only set to true if the node has been marked as unreachable.
protected bool $inactive
Результат boolean

$signature защищенное свойство

This property is used to store a stateless unique identifier for this node.
protected string $signature
Результат string