public class ClientBuilder
extends java.lang.Object
Client
implementationsConstructor and Description |
---|
ClientBuilder() |
Modifier and Type | Method and Description |
---|---|
static AdvancedClient |
newAdvancedClient(Settings settings)
Create a new
AdvancedClient using the specified settings. |
static Client |
newClient(Settings settings)
Create an OpenIO SDS client using the specified settings.
|
static Client |
newClient(java.lang.String ns)
Create a client for the specified OpenIO SDS namespace.
|
static Client |
newClient(java.lang.String ns,
java.lang.String proxydUrl)
Creates a client without specific configuration.
|
static Client |
newClient(java.lang.String ns,
java.lang.String proxydUrl,
java.lang.String ecdUrl)
Creates a client without specific configuration.
|
public static AdvancedClient newAdvancedClient(Settings settings)
AdvancedClient
using the specified settings.settings
- the settings to useAdvancedClient
objectpublic static Client newClient(Settings settings)
settings
- the settings to useClient
objectpublic static Client newClient(java.lang.String ns, java.lang.String proxydUrl)
ns
- the OpenIO NamespaceproxydUrl
- the url of OpenIO proxyd serviceClient
public static Client newClient(java.lang.String ns) throws java.io.FileNotFoundException
ns
- the OpenIO Namespace to connect toClient
objectjava.io.FileNotFoundException
- if no configuration file for the specified namespace has been foundpublic static Client newClient(java.lang.String ns, java.lang.String proxydUrl, java.lang.String ecdUrl)
ns
- the OpenIO NamespaceproxydUrl
- the url of OpenIO proxyd serviceecdUrl
- url of ECD service to manage Erasure CodingClient