public class MaxThreadsOption extends Object implements org.kie.api.conf.SingleValueKieBaseOption
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_NAME
The property name for the max threads
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static MaxThreadsOption |
get(int threshold)
This is a factory method for this Max Threads configuration.
|
int |
getMaxThreads()
Returns the maximum number of threads for partition evaluation
|
String |
getPropertyName() |
int |
hashCode() |
public static final String PROPERTY_NAME
public static MaxThreadsOption get(int threshold)
threshold - the maximum number of threads for partition evaluationpublic String getPropertyName()
getPropertyName in interface org.kie.api.conf.Optionpublic int getMaxThreads()
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.