Sage Modeling and Simulation Library

ResourceManager Class

Resource Manager is a class that provides reservation, acquisition and release services on instances that implement IResource. All operations are accomplished synchronously, meaning that a call to acquire a resource will either throw an exception indicating that the resource request can never be fulfilled from this pool, or else (1) the call is blocked until the resource can be obtained from the pool, or (2) the request will return, unfulfilled. (1) or (2) happen based on the value of the blockAwaitingAcquisition parameter in the reserve or acquire APIs.

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

Syntax


public class ResourceManager : IResourceManager, 
	IEnumerable, IXmlPersistable

Inheritance Hierarchy


Object
  Highpoint.Sage.Resources..::..ResourceManager