Enum Class IDerivedDataTaskSupplier.MultithreadingPolicy
java.lang.Object
java.lang.Enum<IDerivedDataTaskSupplier.MultithreadingPolicy>
com._1c.g5.v8.internal.derived.scheduler.IDerivedDataTaskSupplier.MultithreadingPolicy
- All Implemented Interfaces:
Serializable
,Comparable<IDerivedDataTaskSupplier.MultithreadingPolicy>
,Constable
- Enclosing interface:
- IDerivedDataTaskSupplier
public static enum IDerivedDataTaskSupplier.MultithreadingPolicy
extends Enum<IDerivedDataTaskSupplier.MultithreadingPolicy>
The multithreading computation policy that is preffered by the current DD stage of the supplier's DD pipeline.
Used by the scheduler only for the reference and could be ingnored/omitted during the scheduling process
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNo specific limits in computing using maximum available capabilities of the execution poolLow scalability.The task isn't scalable and it is preferrable to executre this task in single-threaded mode -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HIGH_SCALABILITY
No specific limits in computing using maximum available capabilities of the execution pool -
LOW_SCALABILITY
Low scalability. It is preferrable to execute task in limited number of threads -
SINGLE_THREADED
The task isn't scalable and it is preferrable to executre this task in single-threaded mode
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-