Package net.webpdf.wsclient.openapi
Class ApplicationConfigToolboxWebservice
- java.lang.Object
-
- net.webpdf.wsclient.openapi.ApplicationConfigToolboxWebservice
-
public class ApplicationConfigToolboxWebservice extends Object
Defines a set of options specific for the \"Toolbox\" web service.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ENABLEDstatic StringJSON_PROPERTY_INSTANCESstatic StringJSON_PROPERTY_MAX_LATENCYstatic StringJSON_PROPERTY_QUEUE_SIZE
-
Constructor Summary
Constructors Constructor Description ApplicationConfigToolboxWebservice()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationConfigToolboxWebserviceenabled(Boolean enabled)booleanequals(Object o)@Nullable BooleangetEnabled()If enabled, then the web service is activated.@Nullable IntegergetInstances()Number of parallel instances (threads) for the web service.@Nullable IntegergetMaxLatency()Maximum time in seconds allowed for the execution of a web service before the request is aborted.@Nullable IntegergetQueueSize()Maximum number of waiting requests, before new requests are rejected.inthashCode()ApplicationConfigToolboxWebserviceinstances(Integer instances)ApplicationConfigToolboxWebservicemaxLatency(Integer maxLatency)ApplicationConfigToolboxWebservicequeueSize(Integer queueSize)voidsetEnabled(Boolean enabled)voidsetInstances(Integer instances)voidsetMaxLatency(Integer maxLatency)voidsetQueueSize(Integer queueSize)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ENABLED
public static final String JSON_PROPERTY_ENABLED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INSTANCES
public static final String JSON_PROPERTY_INSTANCES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAX_LATENCY
public static final String JSON_PROPERTY_MAX_LATENCY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_QUEUE_SIZE
public static final String JSON_PROPERTY_QUEUE_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
enabled
public ApplicationConfigToolboxWebservice enabled(Boolean enabled)
-
getEnabled
@Nullable public @Nullable Boolean getEnabled()
If enabled, then the web service is activated.- Returns:
- enabled
-
setEnabled
public void setEnabled(Boolean enabled)
-
instances
public ApplicationConfigToolboxWebservice instances(Integer instances)
-
getInstances
@Nullable public @Nullable Integer getInstances()
Number of parallel instances (threads) for the web service. Defines the number of requests that can be executed in parallel before requests are queued. minimum: 1- Returns:
- instances
-
setInstances
public void setInstances(Integer instances)
-
maxLatency
public ApplicationConfigToolboxWebservice maxLatency(Integer maxLatency)
-
getMaxLatency
@Nullable public @Nullable Integer getMaxLatency()
Maximum time in seconds allowed for the execution of a web service before the request is aborted. When time is expired the execution is aborted. minimum: 0- Returns:
- maxLatency
-
setMaxLatency
public void setMaxLatency(Integer maxLatency)
-
queueSize
public ApplicationConfigToolboxWebservice queueSize(Integer queueSize)
-
getQueueSize
@Nullable public @Nullable Integer getQueueSize()
Maximum number of waiting requests, before new requests are rejected. If there are more requests than free instances, they are placed in the queue. If this maximum value is reached, further requests are rejected directly.- Returns:
- queueSize
-
setQueueSize
public void setQueueSize(Integer queueSize)
-
-