change default settings for retry

This commit is contained in:
fjy 2014-11-13 12:43:30 -08:00
parent 2b0ed30344
commit 6cdd6a6af7
1 changed files with 11 additions and 3 deletions

View File

@ -24,10 +24,18 @@ import com.fasterxml.jackson.annotation.JsonProperty;
public class RetryQueryRunnerConfig public class RetryQueryRunnerConfig
{ {
@JsonProperty @JsonProperty
private int numTries = 0; private int numTries = 1;
@JsonProperty @JsonProperty
private boolean returnPartialResults = false; private boolean returnPartialResults = false;
public int numTries() { return numTries; } public int numTries()
public boolean returnPartialResults() { return returnPartialResults; } {
return numTries;
}
public boolean returnPartialResults()
{
return returnPartialResults;
}
} }