Properties

Link copied to clipboard

Access to the busy state. Busy means at least 1 unit of the resource is allocated.

Link copied to clipboard

Access to the failed state. Failed means that no units of the resource can be allocated until it is repaired. An implementation that cannot fail keeps the default, a state that is never entered.

Link copied to clipboard
abstract val hasBusyUnits: Boolean

If b(t) is greater than zero

Link copied to clipboard

Access to the idle state. Idle means that no units of the resource are allocated.

Link copied to clipboard

Access to the inactive state. Inactive means that the capacity of the resource is 0

Link copied to clipboard
abstract var initialCapacity: Int

The initial capacity of the resource at the start of the replication. The initial capacity must be greater than 0.

Link copied to clipboard

The initial request queue notification rule for controlling the order in which queues are notified for processing requests after a capacity change.

Link copied to clipboard

If b(t) is the number of busy units, and c(t) is the current capacity, then the instantaneous utilization iu(t) is

Link copied to clipboard
open val isFailed: Boolean

True from a failure of the resource until its repair. False by default, for an implementation that cannot fail.

Link copied to clipboard

Statistical response representing the number of busy units of the resource.

Link copied to clipboard
abstract val numTimesReleased: Int

The number of times that the resource has been released (deallocated)

Link copied to clipboard
abstract val numTimesSeized: Int

The number of times that the resource has been seized (allocated)

Link copied to clipboard

The last (previous) state before the current state.

Link copied to clipboard

Statistical response representing the utilization of the resource. This is the time average number of busy units divided by the time average capacity: the utilization of the capacity actually on shift.

Link copied to clipboard

The number of allocations made from the resource: one per allocation whatever its amount, including direct allocate() calls. It counts starts of service, not completions or throughput.

Link copied to clipboard

A general attribute that can be used to assist with selecting resources

Link copied to clipboard
abstract val state: StateAccessorIfc

The current state of the resource.

Link copied to clipboard

Indicates if proportion of time spent in states (idle, busy, inactive) is automatically reported

Link copied to clipboard

time average instantaneous utilization (see instantaneousUtil): time with no capacity counts as zero when no unit is busy, and as one while units are still busy. Under a capacity schedule it generally differs from scheduledUtil, which divides the average busy by the average capacity, and either can be the larger.