Sage Modeling and Simulation Library

SelfManagingResource Constructor

Overload List


  Name Description
Public method SelfManagingResource(IModel, String, Guid, Double, Boolean, Boolean, Boolean, Boolean)
Creates a new SelfManagingResource. A resource is created with a capacity, and is granted in portions of that capacity, or if atomic, all-or-nothing. The IResourceRequest will specify a desired amount. If the IResourceRequest specifies a desired quantity less than the resource's capacity, and the resource is atomic, the IResourceRequest will be granted the full capacity of the resource. A self-managing resource is a resource that is responsible for granting access to itself.
Public method SelfManagingResource(IModel, String, Guid, Double, Double, Boolean, Boolean, Boolean, Boolean)
Creates a new SelfManagingResource. A resource is created with a capacity, and is granted in portions of that capacity, or if atomic, all-or-nothing. The IResourceRequest will specify a desired amount. If the IResourceRequest specifies a desired quantity less than the resource's capacity, and the resource is atomic, the IResourceRequest will be granted the full capacity of the resource. A self-managing resource is a resource that is responsible for granting access to itself.