Official Riak Client for PHP
  • Namespace
  • Class
  • Tree

Namespaces

  • Basho
    • Riak
      • Api
        • Http
          • Translator
      • Command
        • Bucket
        • Builder
          • MapReduce
          • Search
          • TimeSeries
        • DataType
          • Counter
          • Map
          • Set
        • Indexes
        • MapReduce
        • Object
        • Search
          • Index
          • Schema
        • Stats
        • TimeSeries
          • Query
      • DataType
      • Node
        • Builder
      • Search
      • TimeSeries

Classes

  • Api
  • Bucket
  • Command
  • DataType
  • Location
  • Node
  • Object

Interfaces

  • ApiInterface
  • CommandInterface

Traits

  • HeadersTrait

Exceptions

  • Exception

Class Node

Contains the connection configuration to connect to a Riak node.

Namespace: Basho\Riak
Author: Christopher Mancini
Located at Riak/Node.php

Methods summary

public
# __construct( Basho\Riak\Node\Config $config )
public boolean
# isInactive( )

Returns

boolean
public
# setInactive( boolean $inactive )

Parameters

$inactive
public string
# getSignature( )

Returns

string
public string
# getHost( )

Returns

string
public Basho\Riak\Node\Config|null
# getConfig( )

Returns

Basho\Riak\Node\Config|null
public integer
# getPort( )

Returns

integer
public string
# getUri( )

Returns host:port for Node

Returns host:port for Node

Returns

string
public boolean
# useTls( )

useTls

useTls

Returns

boolean
public string
# getUserName( )

getUserName

getUserName

Returns

string
public string
# getPassword( )

getPassword

getPassword

Returns

string
public
# getCaFile( )
public
# getCaDirectory( )
public string
# getCertificate( )

getCertificate

getCertificate

Returns

string
public
# getCertificatePassword( )
public string
# getPrivateKey( )

getPrivateKey

getPrivateKey

Returns

string
public string
# getPrivateKeyPassword( )

getPrivateKeyPassword

getPrivateKeyPassword

Returns

string
public integer
# getTimeout( )

Returns

integer
public Basho\Riak\Command\Response
# execute( Basho\Riak\Command $command, Basho\Riak\Api $api )

Parameters

$command
$api

Returns

Basho\Riak\Command\Response

Throws

Basho\Riak\Exception

Properties summary

protected Basho\Riak\Node\Config|null $config

Configuration

Configuration

Contains configuration needed to connect to a Riak node.

# null
protected boolean $inactive

Inactive node

Inactive node

This is only set to true if the node has been marked as unreachable.

# false
protected string $signature

Node signature

Node signature

This property is used to store a stateless unique identifier for this node.

# ''
Official Riak Client for PHP API documentation generated by ApiGen