public class Configuration
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
ignoreTimeoutError |
int |
maxNoOfThreads |
int |
maxQueueSize |
int |
maxRetryAttempts |
boolean |
multipleThreads |
boolean |
SDCacheMode |
boolean |
SDCacheShared |
int |
SDCacheSize |
int |
SDCacheTimeout |
int |
timeout |
| Constructor and Description |
|---|
Configuration(boolean multipleThreads,
int maxNoOfThreads,
int maxQueueSize)
Constructor
|
Configuration(boolean multipleThreads,
int maxNoOfThreads,
int maxQueueSize,
int timeout,
boolean ignoreTimeoutError,
int maxRetryAttempts,
boolean sDCacheMode,
boolean sDCacheShared,
int sDCacheTimeout,
int sDCacheSize)
Constructor
|
public boolean multipleThreads
public int maxNoOfThreads
public int maxQueueSize
public int timeout
public boolean ignoreTimeoutError
public int maxRetryAttempts
public boolean SDCacheMode
public boolean SDCacheShared
public int SDCacheTimeout
public int SDCacheSize
public Configuration(boolean multipleThreads,
int maxNoOfThreads,
int maxQueueSize,
int timeout,
boolean ignoreTimeoutError,
int maxRetryAttempts,
boolean sDCacheMode,
boolean sDCacheShared,
int sDCacheTimeout,
int sDCacheSize)
multipleThreads - use single thread or multiple threadsmaxNoOfThreads - the max number of multiple threads to be usedmaxQueueSize - the max queue sizetimeout - the max responsible time for servicesignoreTimeoutError - true if ignoring timeout error, otherwise falsemaxRetryAttempts - the max number of retry attemptssDCacheMode - the mode to fetch the available services, from the local cache or from the service registrysDCacheShared - allow multiple threads to share the same cache or notsDCacheTimeout - the refresh period for the cachesDCacheSize - the max cache sizepublic Configuration(boolean multipleThreads,
int maxNoOfThreads,
int maxQueueSize)
multipleThreads - use single thread or multiple threadsmaxNoOfThreads - the max number of multiple threads to be usedmaxQueueSize - the max queue size