public class ExecutionOptions extends JsonObject
Constructor and Description |
---|
ExecutionOptions() |
Modifier and Type | Method and Description |
---|---|
static ExecutionOptions |
fromJson(com.fasterxml.jackson.databind.node.ObjectNode node)
Parses execution options from a json object.
|
long |
getAsynchronous()
If execution lasts longer than this timeout, continue asynchronously
|
long |
getTimeLimit()
The time limit within which the call should complete.
|
void |
setAsynchronous(long b)
If execution lasts longer than this timeout, continue asynchronously
|
void |
setTimeLimit(long l)
The time limit within which the call should complete.
|
com.fasterxml.jackson.databind.JsonNode |
toJson()
Returns a json representation of this
|
getFactory, getSourceNode, toString
public long getTimeLimit()
public void setTimeLimit(long l)
public long getAsynchronous()
public void setAsynchronous(long b)
public com.fasterxml.jackson.databind.JsonNode toJson()
toJson
in class JsonObject
public static ExecutionOptions fromJson(com.fasterxml.jackson.databind.node.ObjectNode node)
Copyright © 2014. All rights reserved.