Global Work Managers are defined at the domain level. You can also define application-level and module-level Work Managers.
Create a Global Work Manager
Using the Administration Console, you can create global work managers that are used to prioritize thread execution.Note: You cannot create or configure app-scoped Work Managers using the Administration Console.
Follow these steps to create a global Work Manager:
1). If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit
2). In the Administration Console, expand Environment and select Work Managers.
3). Click New.
4). Select the Work Manager button, then click Next.
5). Enter a name for the new Work Manager.
6). Click Finish.
7). To activate these changes, in the Change Center of the Administration Console, click Activate Changes.
Not all changes take effect immediately—some require a restart
After you finish
After you have created a global Work Manager, you must create at least one request class or constraint. The global Work Manager uses request classes and constraints to determine how to priortize work.
Create a Global Request Class
To create a global request class:1). If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit
2). In the Administration Console, expand Environment and select Work Managers.
3). Click New.
4). Select the button next to the type of global request class you want to create.
5). Click Next.
6). Input the configuration information based upon the type of request class you are creating.
7). Click Finish.
8). To activate these changes, in the Change Center of the Administration Console, click Activate Changes.
Not all changes take effect immediately—some require a restart
Result
The new constraint appears in the Global Work Managers, Request Classes and Constraints table.
After you finish
After you have created a request class, you must assign it to a Work Manager in order to use it. Each Work Manager can contain only one request class of each type, but you can share request classes among multiple Work Managers.
Create a Global Constraint
To create a global constraint:1). If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit
2). In the Administration Console, expand Environment and select Work Managers.
3). Click New.
4). Select the button next to the type of global constraint you want to create.
5). Click Next.
6). Input the configuration information based upon the type of constraint you are creating.
7). Click Finish.
8). To activate these changes, in the Change Center of the Administration Console, click Activate Changes.
Not all changes take effect immediately—some require a restart
Result
The new constraint appears in the Global Work Managers, Request Classes and Constraints table.
After you finish
After you have created a constraint, you must assign it to a Work Manager in order to use it. Each Work Manager can contain only one constraint of each type, but you can share constraints among multiple Work Managers.
Delete a Global Work Manager, Constraint, or Request Class
To delete a global Work Manager:1). If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit
2). In the Administration Console, expand Environment and select Work Managers.
3). Select the check box next to the Work Manager, request class, or constraint you want to delete.
4). Click Yes to confirm that you want to delete the selected item.
5). To activate these changes, in the Change Center of the Administration Console, click
ActivateChanges.
Not all changes take effect immediately—some require a restart
No comments:
Post a Comment