public enum SchedulerType extends java.lang.Enum<SchedulerType> implements com.google.protobuf.ProtocolMessageEnum
The type of system used to schedule CPU threads to do work in parallel.Protobuf enum
operations_research.pdlp.SchedulerType
Enum Constant and Description |
---|
SCHEDULER_TYPE_EIGEN_THREADPOOL
Eigen non-blocking ThreadPool with barrier synchronization (see
<Eigen/ThreadPool>).
|
SCHEDULER_TYPE_GOOGLE_THREADPOOL
Google ThreadPool with barrier synchronization.
|
SCHEDULER_TYPE_UNSPECIFIED
SCHEDULER_TYPE_UNSPECIFIED = 0; |
Modifier and Type | Field and Description |
---|---|
static int |
SCHEDULER_TYPE_EIGEN_THREADPOOL_VALUE
Eigen non-blocking ThreadPool with barrier synchronization (see
<Eigen/ThreadPool>).
|
static int |
SCHEDULER_TYPE_GOOGLE_THREADPOOL_VALUE
Google ThreadPool with barrier synchronization.
|
static int |
SCHEDULER_TYPE_UNSPECIFIED_VALUE
SCHEDULER_TYPE_UNSPECIFIED = 0; |
Modifier and Type | Method and Description |
---|---|
static SchedulerType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<SchedulerType> |
internalGetValueMap() |
static SchedulerType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SchedulerType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SchedulerType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SchedulerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchedulerType SCHEDULER_TYPE_UNSPECIFIED
SCHEDULER_TYPE_UNSPECIFIED = 0;
public static final SchedulerType SCHEDULER_TYPE_GOOGLE_THREADPOOL
Google ThreadPool with barrier synchronization.
SCHEDULER_TYPE_GOOGLE_THREADPOOL = 1;
public static final SchedulerType SCHEDULER_TYPE_EIGEN_THREADPOOL
Eigen non-blocking ThreadPool with barrier synchronization (see <Eigen/ThreadPool>).
SCHEDULER_TYPE_EIGEN_THREADPOOL = 3;
public static final int SCHEDULER_TYPE_UNSPECIFIED_VALUE
SCHEDULER_TYPE_UNSPECIFIED = 0;
public static final int SCHEDULER_TYPE_GOOGLE_THREADPOOL_VALUE
Google ThreadPool with barrier synchronization.
SCHEDULER_TYPE_GOOGLE_THREADPOOL = 1;
public static final int SCHEDULER_TYPE_EIGEN_THREADPOOL_VALUE
Eigen non-blocking ThreadPool with barrier synchronization (see <Eigen/ThreadPool>).
SCHEDULER_TYPE_EIGEN_THREADPOOL = 3;
public static SchedulerType[] values()
for (SchedulerType c : SchedulerType.values()) System.out.println(c);
public static SchedulerType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static SchedulerType valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static SchedulerType forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SchedulerType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static SchedulerType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025. All rights reserved.