|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jppf.server.protocol.JPPFJobMetadata
public class JPPFJobMetadata
Instances of this class hold metadata about a job, that can be used from a load-balancer, to adapt the load balancing to the computational weight of the job and/or the contained tasks. It may be used in other places in future versions.
JobAwareness,
Serialized Form| Constructor Summary | |
|---|---|
JPPFJobMetadata()
|
|
| Method Summary | |
|---|---|
Map<Object,Object> |
getAll()
Get a copy of the metadata map. |
Object |
getParameter(Object key)
Retrieve a parameter in the metadata. |
Object |
getParameter(Object key,
Object def)
Retrieve a parameter in the metadata. |
Object |
removeParameter(Object key)
Remove a parameter from the metadata. |
void |
setParameter(Object key,
Object value)
Set a parameter in the metadata. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JPPFJobMetadata()
| Method Detail |
|---|
public void setParameter(Object key,
Object value)
key - the parameter's key.value - the parameter's value.public Object getParameter(Object key)
key - the parameter's key.
public Object getParameter(Object key,
Object def)
key - the parameter's key.def - a default value to return if no parameter with the specified key can be found.
public Object removeParameter(Object key)
key - the parameter's key.
public Map<Object,Object> getAll()
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||