2.2.3.5 MANAGEMENT_TYPE Enumeration
The MANAGEMENT_TYPE enumeration defines management modes for the WSRM Protocol server. Management modes are used by IWRMPolicy methods (section 3.2.4.7).
-
typedef [v1_enum] enum { MANUAL_ACTIVE_POLICY = 1, CALENDAR_POLICY = 2, PROFILING = 3 } MANAGEMENT_TYPE;
MANUAL_ACTIVE_POLICY: The server is in manual active policy mode. In this mode, WSRM manages the CPU and memory allocation for different processes according to the PMCs that are defined by the current resource policy. The current resource policy is selected using the SetCurrentPolicy method (section 3.2.4.7.12).
CALENDAR_POLICY: The server is in calendar mode. In this mode, a resource policy is managing the CPU and memory allocation for different processes according to the PMCs defined by the policy. The policy was set and the management mode was set to calendar mode as a result of a calendar event, which is created and managed by IWRMCalendar methods (section 3.2.4.4).
PROFILING: The server is in profiling mode. In this mode, WSRM does not manage the CPU and memory allocation for processes. If accounting is enabled, process properties of all running processes are logged into the accounting database.