public interface RiakClientFactory
RawClient
factoriesModifier and Type | Method and Description |
---|---|
boolean |
accepts(Class<? extends Configuration> configClass)
Is the concrete factory able to create
RawClient s with
configClass Configuration s?
Call before newClient. |
RawClient |
newClient(Configuration config)
Create a new
RawClient instance configured by config |
boolean accepts(Class<? extends Configuration> configClass)
RawClient
s with
configClass
Configuration
s?
Call before newClient.configClass
- the Configuration
implementationRawClient
for the
configClass
false otherwiseRawClient newClient(Configuration config) throws IOException
RawClient
instance configured by config
config
- a specific implementation of Configuration
IOException
Copyright © 2014. All Rights Reserved.