Sage Modeling and Simulation Library

SimpleAccessManager Class

A SimpleAccessManager is made a part of the resource acquisition protocol that is embodied in all resource managers. When a resource manager is aware of an access manager, it asks that access manager if any resource request is grantable before it even allows the resource request to score the available resources. Therefore, an access manager uses Access Regulators to prevent resource requests from being granted in certain cases.

A SimpleAccessManager manages a single AccessRegulator that it applies across all resources that are presented to it, or it manages a stack of AccessRegulators that are applied to specified resources.

NOTE: If an AccessManager has a default regulator as well as resource-specific ones, the resource-specific ones take precedence.

Namespace:  Highpoint.Sage.Resources
Assembly:  Sage4 (in Sage4.dll)

Syntax


public class SimpleAccessManager : IAccessManager

Inheritance Hierarchy


Object
  Highpoint.Sage.Resources..::..SimpleAccessManager