public interface Context
Location
provides correlation between a task and its sub-task(s)ContextManager
.Location
Modifier and Type | Method and Description |
---|---|
<T> T |
get(String name)
Get a named value from this Context.
|
Location |
getLocation()
Get the Location of this Context.
|
<T> T |
put(String name,
Number value,
boolean propagates)
Put a named value in this Context.
|
<T> T |
put(String name,
String value,
boolean propagates)
Put a named value in this Context.
|
<T> T |
remove(String name)
Remove the named value from this Context.
|
Location getLocation()
<T> T put(String name, String value, boolean propagates)
name
- The name of the item of data.value
- The value of item of data.propagates
- If true then the data item will be propagated.<T> T put(String name, Number value, boolean propagates)
name
- The name of the item of data.value
- The value of item of data.propagates
- If true then the data item will be propagated.<T> T remove(String name)
name
- The name of the item of data.<T> T get(String name)
name
- The name of the item of data.Copyright © 2018. All rights reserved.