new ProxyConfiguration()
Defines a set of configuration values used to connect or create a proxy instance, this is just the constructor with
no parameters, once this object is created feel free to change any parameter.
Properties:
| Name | Type | Description |
|---|---|---|
startProxy |
boolean | indicates if the module should try to start a proxy instance from which it will connect to a NoSQL Server |
host |
string | indicates the host:port for a proxy to connect, not used when startProxy = true |
KVCLIENT_JAR |
string | the path where the file kvclient.jar is located, required to start a local proxy |
PROXY_HOME |
string | the path where the proxy files are located, by default they are located in this module path, but a different value can be specified to start a local proxy with different binaries |
kvStoreName |
String | the store name to be used |
kvStoreHelperHosts |
String | Array | the helper hosts to be used by the proxy when connecting to a NoSQL Server |
readZones |
String | Array | the read zones to be used by the proxy when connecting to a NoSQL Server |
securityProperties |
SecurityProperties | used for the connection |
requestTimeout |
Number | a number in milliseconds to specify the timeout default value for a request |
socketOpenTimeout |
Number | a number in milliseconds to specify the timeout for the socket to connect |
socketReadTimeout |
Number | a number in milliseconds to specify the timeout for the socket to read |