seize
Requests a number of units of the indicated resource.
Return
the Allocation representing the request for the Resource. After returning, the allocation indicates that the units of the resource have been allocated to the entity making the request. An allocation should not be returned until all requested units of the resource have been allocated.
Parameters
the number of units of the resource needed for the request. The default is 1 unit.
the resource from which the units are being requested.
the priority of the request. This is meant to inform any allocation mechanism for requests that may be competing for the resource.
the queue that will hold the entity if the amount needed cannot immediately be supplied by the resource. If the queue is priority based (i.e. uses a ranked queue discipline) the user should set the entity's priority attribute for use in ranking the queue prior to the calling seize.
the name of the suspension point. can be used to identify which seize the entity is experiencing if there are more than one seize suspension points within the process. The user is responsible for uniqueness.
Requests a number of units of the indicated resource. The queue that will hold the entity is internal to the resource. If the queue is priority based (i.e. uses a ranked queue discipline) the user should set the entity's priority attribute for use in ranking the queue prior to the calling seize.
Return
the Allocation representing the request for the Resource. After returning, the allocation indicates that the units of the resource have been allocated to the entity making the request. An allocation should not be returned until all requested units of the resource have been allocated.
Parameters
the number of units of the resource needed for the request. The default is 1 unit.
the resource from which the units are being requested.
the priority of the request. This is meant to inform any allocation mechanism for requests that may be competing for the resource.
the name of the suspension point. can be used to identify which seize the entity is experiencing if there are more than one seize suspension points within the process. The user is responsible for uniqueness.
Requests a number of units of the indicated movable resource.
Return
the Allocation representing the request for the Resource. After returning, the allocation indicates that the units of the resource have been allocated to the entity making the request. An allocation should not be returned until all requested units of the resource have been allocated.
Parameters
the resource from which the units are being requested.
the priority of the request. This is meant to inform any allocation mechanism for requests that may be competing for the resource.
the queue that will hold the entity if the amount needed cannot immediately be supplied by the resource. If the queue is priority based (i.e. uses a ranked queue discipline) the user should set the entity's priority attribute for use in ranking the queue prior to the calling seize.
the name of the suspension point. can be used to identify which seize the entity is experiencing if there are more than one seize suspension points within the process. The user is responsible for uniqueness.
Requests a number of units of the indicated movable resource.
Return
the Allocation representing the request for the Resource. After returning, the allocation indicates that the units of the resource have been allocated to the entity making the request. An allocation should not be returned until all requested units of the resource have been allocated.
Parameters
the resource from which the units are being requested.
the priority of the request. This is meant to inform any allocation mechanism for requests that may be competing for the resource.
the name of the suspension point. can be used to identify which seize the entity is experiencing if there are more than one seize suspension points within the process. The user is responsible for uniqueness.
Requests a number of units from the indicated pool of resources
Return
the Allocation representing the request for the Resource. After returning, the allocation indicates that the units of the resource have been allocated to the entity making the request. An allocation should not be returned until all requested units of the resource have been allocated.
Parameters
the number of units of the resource needed for the request. The default is 1 unit.
the resource pool from which the units are being requested.
the priority of the request. This is meant to inform any allocation mechanism for requests that may be competing for the resource.
the queue that will hold the entity if the amount needed cannot immediately be supplied by the resource. If the queue is priority based (i.e. uses a ranked queue discipline) the user should set the entity's priority attribute for use in ranking the queue prior to the calling seize.
The rule to use to select resources to allocate from. By default, the pool's default rule is used.
The rule to use to determine the resources to allocate from given the selected resources. By default, the pool's default rule is used.
the name of the suspension point. can be used to identify which seize the entity is experiencing if there are more than one seize suspension points within the process. The user is responsible for uniqueness.
Requests a number of units from the indicated pool of resources The queue that will hold the entity is internal to the resource pool. If the queue is priority based (i.e. uses a ranked queue discipline) the user should set the entity's priority attribute for use in ranking the queue prior to the calling seize.
Return
the Allocation representing the request for the Resource. After returning, the allocation indicates that the units of the resource have been allocated to the entity making the request. An allocation should not be returned until all requested units of the resource have been allocated.
Parameters
the number of units of the resource needed for the request. The default is 1 unit.
the resource pool from which the units are being requested.
the priority of the request. This is meant to inform any allocation mechanism for requests that may be competing for the resource.
The rule to use to select resources to allocate from. By default, the pool's default rule is used.
The rule to use to determine the resources to allocate from given the selected resources. By default, the pool's default rule is used.
the name of the suspension point. can be used to identify which seize the entity is experiencing if there are more than one seize suspension points within the process. The user is responsible for uniqueness.
Requests a movable resource from the indicated pool of resources The queue that will hold the entity is supplied to the movable resource pool. The movable resources in the pool will select requests from the queue. If the queue is priority based (i.e. uses a ranked queue discipline) the user should set the entity's priority attribute for use in ranking the queue prior to the calling seize.
Return
the Allocation representing the request for the Resource. After returning, the allocation indicates that the units of the resource have been allocated to the entity making the request. An allocation should not be returned until all requested units of the resource have been allocated.
Parameters
the resource pool from which the units are being requested.
The location of the request. The default is the entity's currentLocation
the priority of the request. This is meant to inform any allocation mechanism for requests that may be competing for the resource.
the queue that will hold the entity if the amount needed cannot immediately be supplied by the resource. If the queue is priority based (i.e. uses a ranked queue discipline) the user should set the entity's priority attribute for use in ranking the queue prior to the calling seize.
The rule to use to select resources to allocate from. If null is supplied, then the pool's default rule is used.
The rule to use to determine the resources to allocate from given the selected resources. By default, the pool's default rule is used.
the name of the suspension point. can be used to identify which seize the entity is experiencing if there are more than one seize suspension points within the process. The user is responsible for uniqueness.
Requests a movable resource from the indicated pool of resources The queue that will hold the entity is internal to the movable resource pool. If the queue is priority based (i.e. uses a ranked queue discipline) the user should set the entity's priority attribute for use in ranking the queue prior to the calling seize.
Return
the Allocation representing the request for the Resource. After returning, the allocation indicates that the units of the resource have been allocated to the entity making the request. An allocation should not be returned until all requested units of the resource have been allocated.
Parameters
the resource pool from which the units are being requested.
The location of the request. The default is the entity's currentLocation
the priority of the request. This is meant to inform any allocation mechanism for requests that may be competing for the resource.
The rule to use to select resources to allocate from. By default, the pool's default rule is used.
The rule to use to determine the resources to allocate from given the selected resources. By default, the pool's default rule is used.
the name of the suspension point. can be used to identify which seize the entity is experiencing if there are more than one seize suspension points within the process. The user is responsible for uniqueness.
Requests any transporter of a guided-path pool, waiting for one if the fleet is busy.
The same shape as the seize of a resource pool or a movable resource pool, and for the same reasons: the request is queued whether or not it waits, so its wait is observed even when it is zero; the release of a transporter reserves the pool's availability for whoever is next; and which transporter is chosen is decided at allocation rather than when the request queues, so an entity that has waited is given the transporter that is best for it now.
Return
the allocation of the chosen transporter
Parameters
the fleet to request from
where the transporter is wanted, which is what the allocation rule ranks by
orders this request against others made at the same instant
names this suspension point when a process has several