|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 | |
---|---|
int |
getPriority()
Get the priority |
Object |
getProperty(String name)
Get the property |
void |
setPriority(int p)
Set the priority |
void |
setProperty(String name,
Object value)
Set some properties |
Method Detail |
---|
int getPriority()
void setPriority(int p)
p
- priorityvoid setProperty(String name, Object value)
name
- name of the propertyvalue
- values of the propertyObject getProperty(String name)
name
- key of the property
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |