WorkContext that allows a Work
instance to propagate quality-of-service (QoS) hints about the Work to the WorkManager.
javax.resource.spi.work.WorkContextProvider
| Modifier and Type | Field and Description |
|---|---|
| protected String | |
| pack-priv Map | |
| public static final String | |
| protected String | |
| public static final String | |
| private static final long | serialVersionUID
Determines if a deserialized instance of this class is compatible with this class. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getDescription()
Implements javax. WorkContext and any other related debugging information.
|
| public Map | |
| public String | getName()
Implements javax. WorkContext.
|
| public void | setDescription(String description)
Set a brief description of the role played by the instance of HintsContext and any other related debugging information. |
| public void | |
| public void |
| description | back to summary |
|---|---|
| protected String description | |
| hints | back to summary |
|---|---|
| pack-priv Map<String, Serializable> hints | |
| LONGRUNNING_HINT | back to summary |
|---|---|
| public static final String LONGRUNNING_HINT | |
| name | back to summary |
|---|---|
| protected String name | |
| NAME_HINT | back to summary |
|---|---|
| public static final String NAME_HINT | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Determines if a deserialized instance of this class is compatible with this class. | |
| HintsContext | back to summary |
|---|---|
| public HintsContext() | |
| getDescription | back to summary |
|---|---|
| public String getDescription() Implements javax. Doc from javax. Get the brief description of the role played by the
| |
| getHints | back to summary |
|---|---|
| public Map | |
| getName | back to summary |
|---|---|
| public String getName() Implements javax. Doc from javax. Get the associated name of the
| |
| setDescription | back to summary |
|---|---|
| public void setDescription(String description) Set a brief description of the role played by the instance of HintsContext and any other related debugging information. This could be used by the resource adapter and the WorkManager for logging and debugging purposes. | |
| setHint | back to summary |
|---|---|
| public void setHint(String hintName, Serializable value) Set a Hint and a related value. The hintName must be non-Null. Standard HintNames are defined in the Connector specification. Use of "javax.resource." prefixed hintNames are reserved for use by the Connector specification. | |
| setName | back to summary |
|---|---|
| public void setName(String name) Set the associated name of the HintsContext. This could be used by the resource adapter and the WorkManager for logging and debugging purposes. | |