コード例 #1
0
ファイル: Node.php プロジェクト: lastzero/riak-php-client
 /**
  * @return int
  */
 public function getTimeout()
 {
     return $this->config->getConnectionTimeout();
 }
コード例 #2
0
ファイル: Node.php プロジェクト: jjulien/riak-php-client
 /**
  * getPrivateKeyPassword
  *
  * @return string
  */
 public function getPrivateKeyPassword()
 {
     return $this->config->getPrivateKeyPassword();
 }
コード例 #3
0
ファイル: Builder.php プロジェクト: jjulien/riak-php-client
 /**
  * Build node objects with configuration to use a specific port number
  *
  * @param $port
  * @return $this
  */
 public function onPort($port)
 {
     $this->config->setPort($port);
     return $this;
 }
コード例 #4
0
ファイル: Node.php プロジェクト: basho/riak-php-client
 /**
  * @return int
  */
 public function getStreamTimeout()
 {
     // NB: value represents seconds
     return $this->config->getStreamTimeout();
 }