public class ThinClientConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DFLT_MAX_ACTIVE_COMPUTE_TASKS_PER_CONNECTION
Default limit of active compute tasks per connection.
|
static int |
DFLT_MAX_ACTIVE_TX_PER_CONNECTION
Default limit of active transactions count per connection.
|
| Constructor and Description |
|---|
ThinClientConfiguration()
Creates thin-client configuration with all default values.
|
ThinClientConfiguration(ThinClientConfiguration cfg)
Creates thin-client configuration by copying all properties from given configuration.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxActiveComputeTasksPerConnection()
Gets active compute tasks per connection limit.
|
int |
getMaxActiveTxPerConnection() |
boolean |
sendServerExceptionStackTraceToClient() |
ThinClientConfiguration |
sendServerExceptionStackTraceToClient(boolean sendServerExcStackTraceToClient)
Deprecated.
Use
setServerToClientExceptionStackTraceSending(boolean) instead. |
ThinClientConfiguration |
setMaxActiveComputeTasksPerConnection(int maxActiveComputeTasksPerConn)
Sets active compute tasks per connection limit.
|
ThinClientConfiguration |
setMaxActiveTxPerConnection(int maxActiveTxPerConn)
Sets active transactions count per connection limit.
|
ThinClientConfiguration |
setServerToClientExceptionStackTraceSending(boolean sendStackTrace) |
String |
toString() |
public static final int DFLT_MAX_ACTIVE_TX_PER_CONNECTION
public static final int DFLT_MAX_ACTIVE_COMPUTE_TASKS_PER_CONNECTION
public ThinClientConfiguration()
public ThinClientConfiguration(ThinClientConfiguration cfg)
cfg - Configuration to copy.public int getMaxActiveTxPerConnection()
public ThinClientConfiguration setMaxActiveTxPerConnection(int maxActiveTxPerConn)
maxActiveTxPerConn - Active transactions count per connection limit.this for chaining.public int getMaxActiveComputeTasksPerConnection()
True if compute is enabled for thin client.public ThinClientConfiguration setMaxActiveComputeTasksPerConnection(int maxActiveComputeTasksPerConn)
0 means that compute grid functionality is disabled for thin clients.maxActiveComputeTasksPerConn - Active compute tasks per connection limit.this for chaining.public boolean sendServerExceptionStackTraceToClient()
true sends a server exception stack to the client side.@Deprecated public ThinClientConfiguration sendServerExceptionStackTraceToClient(boolean sendServerExcStackTraceToClient)
setServerToClientExceptionStackTraceSending(boolean) instead.sendServerExcStackTraceToClient - If true sends a server exception stack to the client side.this for chaining.public ThinClientConfiguration setServerToClientExceptionStackTraceSending(boolean sendStackTrace)
sendStackTrace - If true sends a server exception stack to the client side.this for chaining.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023