com.sugestio.client
Class SugestioConfig

java.lang.Object
  extended by com.sugestio.client.SugestioConfig

public class SugestioConfig
extends java.lang.Object


Constructor Summary
SugestioConfig(java.lang.String account, java.lang.String secret)
           
 
Method Summary
 java.lang.String getAccount()
           
 java.lang.String getBaseUri()
           
 int getBulkMaxCount()
           
 int getBulkThreads()
           
 int getConnectTimeout()
          Connect timeout interval property.
 int getReadTimeout()
          Read timeout interval property.
 java.lang.String getSecret()
           
 void setAccount(java.lang.String account)
           
 void setBaseUri(java.lang.String baseUri)
          The base URI of the Sugestio web service.
 void setBulkMaxCount(int bulkMaxCount)
           
 void setBulkThreads(int bulkThreads)
           
 void setConnectTimeout(int connectTimeout)
          Connect timeout interval property.
 void setReadTimeout(int readTimeout)
          Read timeout interval property.
 void setSecret(java.lang.String secret)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SugestioConfig

public SugestioConfig(java.lang.String account,
                      java.lang.String secret)
Method Detail

getAccount

public java.lang.String getAccount()
Returns:
the account

setAccount

public void setAccount(java.lang.String account)
Parameters:
account - the account to set

getSecret

public java.lang.String getSecret()
Returns:
the secret

setSecret

public void setSecret(java.lang.String secret)
Parameters:
secret - the secret to set

getBaseUri

public java.lang.String getBaseUri()
Returns:
the baseUri

setBaseUri

public void setBaseUri(java.lang.String baseUri)
The base URI of the Sugestio web service. No trailing slash.

Parameters:
baseUri - the baseUri to set.

getBulkMaxCount

public int getBulkMaxCount()
Returns:
the bulkMaxCount

setBulkMaxCount

public void setBulkMaxCount(int bulkMaxCount)
Parameters:
bulkMaxCount - the bulkMaxCount to set

getBulkThreads

public int getBulkThreads()
Returns:
the bulkThreads

setBulkThreads

public void setBulkThreads(int bulkThreads)
Parameters:
bulkThreads - the bulkThreads to set

getReadTimeout

public int getReadTimeout()
Read timeout interval property. How many milliseconds to wait. Set to zero to wait forever.

Returns:
the readTimeout

setReadTimeout

public void setReadTimeout(int readTimeout)
Read timeout interval property. How many milliseconds to wait. Set to zero to wait forever.

Parameters:
readTimeout - the readTimeout to set

getConnectTimeout

public int getConnectTimeout()
Connect timeout interval property. How many milliseconds to wait. Set to zero to wait forever.

Returns:
the connectTimeout

setConnectTimeout

public void setConnectTimeout(int connectTimeout)
Connect timeout interval property. How many milliseconds to wait. Set to zero to wait forever.

Parameters:
connectTimeout - the connectTimeout to set