Interface Importance
-
public interface Importance
This class determines the priority of a Worker. It can also hold some properties for assisting the queue selecting algorithms.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getPriority()
Get the priorityObject
getProperty(String name)
Get the propertyvoid
setPriority(int p)
Set the priorityvoid
setProperty(String name, Object value)
Set some properties
-
-
-
Method Detail
-
getPriority
int getPriority()
Get the priority- Returns:
- priority
-
setPriority
void setPriority(int p)
Set the priority- Parameters:
p
- priority
-
setProperty
void setProperty(String name, Object value)
Set some properties- Parameters:
name
- name of the propertyvalue
- values of the property
-
-