|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.basho.riak.client.raw.http.HTTPRiakClientFactory
public class HTTPRiakClientFactory
Factory for creating HTTPClientAdapter instances configured by the
given HTTPClientConfig. Converts an HTTPClientConfig to a
RiakConfig
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static HTTPRiakClientFactory getInstance()
public boolean accepts(Class<? extends Configuration> configClass)
RiakClientFactoryRawClients with
configClass Configurations?
Call before newClient.
accepts in interface RiakClientFactoryconfigClass - the Configuration implementation
RawClient for the
configClass false otherwisepublic RawClient newClient(Configuration conf)
RiakClientFactoryRawClient instance configured by config
newClient in interface RiakClientFactoryconf - a specific implementation of Configuration
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||