| 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.backgroundrunner.example |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseBackgroundRunnable
This is the base class for any user defined periodic Task classes See source code example in package
com.mgnt.lifecycle.management.backgroundrunner.example that demonstrates how it is done |
| Modifier and Type | Method and Description |
|---|---|
static BackgroundRunnable |
BackgroundRunnableFactory.getInstance(java.lang.String key) |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Collection<BackgroundRunnable> |
BackgroundRunnableFactory.getAllInstances() |
| Modifier and Type | Class and Description |
|---|---|
class |
TypeOneTask
This class demonstrates more complex example in which besides required "Execution time Interval" property there are two
more special properties - one simply called
timeIntervalProperty just to demonstrate how to have
additional property of type TimeInterval and another one called parsedIntergerProperty. |
class |
TypeTwoTask
This class demonstrates minimalistic example in which there is only required "Execution time Interval" property which
requires special parsing
|