com.basho.riak.client.raw.pbc
Class PBClusterClient

java.lang.Object
  extended by com.basho.riak.client.raw.ClusterClient<PBClientConfig>
      extended by com.basho.riak.client.raw.pbc.PBClusterClient
All Implemented Interfaces:
RawClient

public class PBClusterClient
extends ClusterClient<PBClientConfig>

Concrete ClusterClient that creates a collection of PBClientAdapters from the given PBClientConfig

Author:
russell

Constructor Summary
PBClusterClient(ClusterConfig<PBClientConfig> clusterConfig)
           
 
Method Summary
protected  RawClient[] fromConfig(ClusterConfig<PBClientConfig> clusterConfig)
          Create an array of clients for the cluster from the given ClusterConfig.
 Transport getTransport()
          The raw transport name.
 
Methods inherited from class com.basho.riak.client.raw.ClusterClient
delete, delete, delete, fetch, fetch, fetch, fetchBucket, fetchIndex, generateAndSetClientId, getClientId, head, linkWalk, listBuckets, listKeys, mapReduce, ping, setClientId, shutdown, stats, store, store, updateBucket
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PBClusterClient

public PBClusterClient(ClusterConfig<PBClientConfig> clusterConfig)
                throws IOException
Parameters:
clusterConfig -
Throws:
IOException
Method Detail

fromConfig

protected RawClient[] fromConfig(ClusterConfig<PBClientConfig> clusterConfig)
                          throws IOException
Description copied from class: ClusterClient
Create an array of clients for the cluster from the given ClusterConfig.

Specified by:
fromConfig in class ClusterClient<PBClientConfig>
Returns:
the array of RawClient delegates that make up the cluster
Throws:
IOException

getTransport

public Transport getTransport()
Description copied from interface: RawClient
The raw transport name.

Returns:
the Transport for the client or null if not implemented.


Copyright © 2012. All Rights Reserved.