|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueueSchedulingContext<T>
A QueueSchedulingContext
- nome est omen -
provides a way to store and retrieve arbitrary parameters
in the context of a specifc queue scheduling process.
The context is always associated with a specific
QueueScheduler
and a SchedulableQueueElement
.
These associations are immutable, a context cannot be
migrated to another schedulable or scheduler after its
creation.
Method Summary | |
---|---|
java.lang.Object |
getParam(java.lang.String name)
Retrieves a param from the context. |
java.lang.Object |
setParam(java.lang.String name,
java.lang.Object param)
Sets a context param into this context. |
Method Detail |
---|
java.lang.Object getParam(java.lang.String name)
name
-
null
if no such
param is present.Map.get(Object)
java.lang.Object setParam(java.lang.String name, java.lang.Object param)
name
- param
-
null
if
no such param has been present.Map.put(Object, Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |