|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.drools.conf.MaxThreadsOption
public class MaxThreadsOption
A class for the max threads configuration.
Field Summary | |
---|---|
static String |
PROPERTY_NAME
The property name for the max threads |
Method Summary | |
---|---|
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()
Returns the property name for this option |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PROPERTY_NAME
Method Detail |
---|
public static MaxThreadsOption get(int threshold)
maxThreads
- the maximum number of threads for partition evaluation
public String getPropertyName()
getPropertyName
in interface Option
public int getMaxThreads()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |