public class TimeoutUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TimeoutUtils.Timeout |
Modifier and Type | Field and Description |
---|---|
private static Integer |
APPLINK_TIMEOUT |
Constructor and Description |
---|
TimeoutUtils() |
Modifier and Type | Method and Description |
---|---|
static TimeoutUtils.Timeout |
forever()
Sets the timeout to 6 hours
|
static int |
getTimeout(Collection<?> items,
int type)
Returns a timeout in ms, depending on the type of data sent
0 = any type
1 = searching for issues
2 = searching for requirements in Confluence
3 = sending the queue from Confluence
4 = sending the queue from Jira
5 = communicate a rename to Jira
|
static int |
getTimeout(int count,
int type) |
static TimeoutUtils.Timeout |
start(long milliseconds) |
private static final Integer APPLINK_TIMEOUT
public static int getTimeout(int count, int type)
public static int getTimeout(Collection<?> items, int type)
public static TimeoutUtils.Timeout start(long milliseconds)
public static TimeoutUtils.Timeout forever()
Copyright © 2021 Play SQL. All rights reserved.