Package | Description |
---|---|
com.mgnt.lifecycle.management.backgroundrunner |
This package contains infrastructure that can run user implemented Task classes in a separate thread at configured
time interval.
|
com.mgnt.lifecycle.management.httpclient | |
com.mgnt.utils | |
com.mgnt.utils.entities |
Modifier and Type | Method and Description |
---|---|
TimeInterval |
BackgroundRunnable.getTaskExecutionInterval() |
Modifier and Type | Method and Description |
---|---|
void |
BaseBackgroundRunnable.initTimeIntervalParam(java.lang.String valueStr,
TimeInterval defaultValue,
java.lang.String propertyName)
This method parses String value into a
TimeInterval and then invokes method
BackgroundRunnable.setParamValue(TimeInterval, String) to set required property value. |
void |
BackgroundRunnable.initTimeIntervalParam(java.lang.String valueStr,
TimeInterval defaultValue,
java.lang.String propertyName)
This is internally implemented method (in class
BaseBackgroundRunnable ) it allows to initialize
other properties of type TimeInterval If such properties exist then the user will need to override
method BackgroundRunnable.setParamValue(TimeInterval, String) so it will know what setter method to invoke based on
propertyName parameter. |
void |
BackgroundRunnable.setParamValue(TimeInterval value,
java.lang.String property)
This method is a general setter method for all properties that hold
TimeInterval value. |
Modifier and Type | Method and Description |
---|---|
TimeInterval |
HttpClient.getConnectTimeout()
This method returns connection timeout currently in effect.
|
TimeInterval |
HttpClient.getReadTimeout()
This method returns read timeout currently in effect.
|
Modifier and Type | Method and Description |
---|---|
void |
HttpClient.setConnectTimeout(TimeInterval connectTimeout)
This method sets the connection timeout that will remain in effect for all subsequent connection requests until it is
changed by invocation of this or other connection timeout setter methods:
HttpClient.setConnectTimeout(String) ,
HttpClient.setConnectTimeout(long, TimeUnit) |
void |
HttpClient.setReadTimeout(TimeInterval readTimeout)
This method sets the read timeout that will remain in effect for all subsequent connection requests until it is
changed by invocation of this or other read timeout setter methods:
HttpClient.setReadTimeout(String) ,
HttpClient.setReadTimeout(long, TimeUnit) |
Modifier and Type | Method and Description |
---|---|
static TimeInterval |
TextUtils.parseStringToTimeInterval(java.lang.String valueStr)
This method parses String value into
TimeInterval . |
static TimeInterval |
TextUtils.parsingStringToTimeInterval(java.lang.String valueStr)
Deprecated.
Use
TextUtils.parseStringToTimeInterval(String) instead. The new method the same as this one except the name change.
This method is left for backwards compatibility only and will be removed in future versions. |
Modifier and Type | Method and Description |
---|---|
static void |
TimeUtils.sleepFor(TimeInterval timeInterval)
This is an overload for method
TimeUtils.sleepFor(long, TimeUnit) which is provided for convenience. |
Modifier and Type | Method and Description |
---|---|
int |
TimeInterval.compareTo(TimeInterval o) |