Package | Description |
---|---|
agi.foundation.infrastructure.threading |
Contains types used to perform and manage calculations among multiple threads of execution.
|
Modifier and Type | Method and Description |
---|---|
static ThreadSource |
ThreadSource.getDefault()
Get the enum constant that is considered to be the default.
|
static ThreadSource |
ThreadSource.getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
static ThreadSource |
ThreadingPolicy.getThreadSource()
Gets the source of new threads to be used to execute parallelizable operations.
|
static ThreadSource |
ThreadSource.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThreadSource[] |
ThreadSource.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static void |
ThreadingPolicy.setThreadSource(ThreadSource value)
Sets the source of new threads to be used to execute parallelizable operations.
|