public interface RiakClientFactory
RawClient factories| 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. |
RawClient |
newClient(Configuration config)
Create a new
RawClient instance configured by config |
boolean accepts(Class<? extends Configuration> configClass)
RawClients with
configClass Configurations?
Call before newClient.configClass - the Configuration implementationRawClient for the
configClass false otherwiseRawClient newClient(Configuration config) throws IOException
RawClient instance configured by configconfig - a specific implementation of ConfigurationIOExceptionCopyright © 2014. All Rights Reserved.