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

  • Builder
  • Config

Class Config

Configuration data structure object for connecting to a Riak node.

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

Methods summary

public integer
# getConnectionTimeout( )

Returns

integer
public
# setConnectionTimeout( integer $connection_timeout )

Parameters

$connection_timeout
public string
# getCaFile( )

Returns

string
public
# setCaFile( string $ca_file )

Parameters

$ca_file
public string
# getCaDirectory( )

Returns

string
public
# setCaDirectory( string $ca_directory )

Parameters

$ca_directory
public string
# getCertificatePassword( )

Returns

string
public
# setCertificatePassword( string $certificate_password )

Parameters

$certificate_password
public string
# getPrivateKey( )

Returns

string
public
# setPrivateKey( string $private_key )

Parameters

$private_key
public string
# getPrivateKeyPassword( )

Returns

string
public
# setPrivateKeyPassword( string $private_key_password )

Parameters

$private_key_password
public string
# getCertificate( )

Returns

string
public
# setCertificate( string $certificate )

Parameters

$certificate
public boolean
# isAuth( )

Returns

boolean
public
# setAuth( boolean $auth )

Parameters

$auth
public string
# getHost( )

Returns

string
public
# setHost( string $host )

Parameters

$host
public string
# getPass( )

Returns

string
public
# setPass( string $pass )

Parameters

$pass
public integer
# getPort( )

Returns

integer
public
# setPort( integer $port )

Parameters

$port
public string
# getUser( )

Returns

string
public
# setUser( string $user )

Parameters

$user

Properties summary

protected string $host

Host address

Host address

# ''
protected integer $port

Port number

Port number

# 0
protected string $user

User name

User name

# ''
protected string $pass

User password

User password

# ''
protected boolean $auth

Client / user authentication flag

Client / user authentication flag

If true, client will use HTTPS (TLS1.2) to connect to Riak node

# false
protected string $ca_file
# ''
protected string $ca_directory

[short description]

[short description]

# ''
protected string $certificate

Certificate to authenticate to Riak with

Certificate to authenticate to Riak with

# ''
protected string $certificate_password

Certificate to authenticate to Riak with

Certificate to authenticate to Riak with

# ''
protected string $private_key

[short description]

[short description]

# ''
protected string $private_key_password

[short description]

[short description]

# ''
protected integer $connection_timeout

Client side connection timeout

Client side connection timeout

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