com.basho.riak.client.raw.pbc
Class PBClusterClient
java.lang.Object
com.basho.riak.client.raw.ClusterClient<PBClientConfig>
com.basho.riak.client.raw.pbc.PBClusterClient
- All Implemented Interfaces:
- RawClient
public class PBClusterClient
- extends ClusterClient<PBClientConfig>
Concrete ClusterClient
that creates a collection of
PBClientAdapter
s from the given PBClientConfig
- Author:
- russell
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 |
PBClusterClient
public PBClusterClient(ClusterConfig<PBClientConfig> clusterConfig)
throws IOException
- Parameters:
clusterConfig
-
- Throws:
IOException
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.