public class HTTPRiakClientFactory extends Object implements RiakClientFactory
HTTPClientAdapter instances configured by the
given HTTPClientConfig. Converts an HTTPClientConfig to a
RiakConfig| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(Class<? extends Configuration> configClass)
Is the concrete factory able to create
RawClients with
configClass Configurations?
Call before newClient. |
static HTTPRiakClientFactory |
getInstance() |
RawClient |
newClient(Configuration conf)
Create a new
RawClient instance configured by config |
public static HTTPRiakClientFactory getInstance()
public boolean accepts(Class<? extends Configuration> configClass)
RiakClientFactoryRawClients with
configClass Configurations?
Call before newClient.accepts in interface RiakClientFactoryconfigClass - the Configuration implementationRawClient for the
configClass false otherwisepublic RawClient newClient(Configuration conf)
RiakClientFactoryRawClient instance configured by confignewClient in interface RiakClientFactoryconf - a specific implementation of ConfigurationCopyright © 2014. All Rights Reserved.