Package | Description |
---|---|
agi.foundation.compatibility | |
agi.foundation.infrastructure.threading |
Contains types used to perform and manage calculations among multiple threads of execution.
|
Modifier and Type | Method and Description |
---|---|
static DoWorkEventHandler |
DoWorkEventHandler.combine(DoWorkEventHandler a,
DoWorkEventHandler b)
Combines two delegate instances, forming a new delegate that will invoke both
delegates when invoked.
|
static DoWorkEventHandler |
DoWorkEventHandler.of(DoWorkEventHandler.Function f)
Create a delegate for the given interface.
|
static DoWorkEventHandler |
DoWorkEventHandler.of(DoWorkEventHandler.Function f,
Class<?> targetClass,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
static DoWorkEventHandler |
DoWorkEventHandler.of(DoWorkEventHandler.Function f,
Object targetObject,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
static DoWorkEventHandler |
DoWorkEventHandler.remove(DoWorkEventHandler source,
DoWorkEventHandler value)
Removes one delegate from another, if it was previously combined.
|
Modifier and Type | Method and Description |
---|---|
static DoWorkEventHandler |
DoWorkEventHandler.combine(DoWorkEventHandler a,
DoWorkEventHandler b)
Combines two delegate instances, forming a new delegate that will invoke both
delegates when invoked.
|
static DoWorkEventHandler |
DoWorkEventHandler.remove(DoWorkEventHandler source,
DoWorkEventHandler value)
Removes one delegate from another, if it was previously combined.
|
Modifier and Type | Method and Description |
---|---|
void |
BackgroundCalculation.addDoWork(DoWorkEventHandler value)
Adds a handler for an event that occurs when
BackgroundCalculation.runWorkerAsync() is called. |
void |
BackgroundCalculation.removeDoWork(DoWorkEventHandler value)
Removes a handler for an event that occurs when
BackgroundCalculation.runWorkerAsync() is called. |