|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.basho.riak.client.raw.pbc.PBRiakClientFactory
public class PBRiakClientFactory
Creates PBClientAdapters configured as per the PBClientConfig
given.
| Method Summary | |
|---|---|
boolean |
accepts(Class<? extends Configuration> configClass)
Is the concrete factory able to create RawClients with
configClass Configurations?
Call before newClient. |
static PBRiakClientFactory |
getInstance()
|
RawClient |
newClient(Configuration config)
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 PBRiakClientFactory 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 otherwise
public RawClient newClient(Configuration config)
throws IOException
RiakClientFactoryRawClient instance configured by config
newClient in interface RiakClientFactoryconfig - a specific implementation of Configuration
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||