Interface IDtHostResourceManager
-
- All Superinterfaces:
IManagedService
public interface IDtHostResourceManager extends IManagedService
IDtHostResourceManager
manages physical resources of the client host and balances them between different activities of the EDT. Client services should provide theirIResourcePlan
to be able to receive information on permitted resources.
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
Service name
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IHostResourceManagementHandle
registerResourcePlan(IResourcePlan plan)
Registers the client resource plan.-
Methods inherited from interface com._1c.g5.wiring.IManagedService
activate, deactivate
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
Service name- See Also:
- Constant Field Values
-
-
Method Detail
-
registerResourcePlan
IHostResourceManagementHandle registerResourcePlan(IResourcePlan plan)
Registers the client resource plan. The plan should be registered on early stages of the client service initilization for the system to be able to balance resources before static services creation/initialization.- Parameters:
plan
- The resource plan to register. Cannot benull
- Returns:
- The
IHostResourceManagementHandle
for the client to communicate with the facility. Nevernull
-
-