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
abstract val capacity: Int

The current capacity of the resource. In general, it can be 0 or greater

Link copied to clipboard

Returns the default reporting option. True means that the response should appear on the default reports

Link copied to clipboard

If a(t) is greater than zero

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

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
abstract val isBusy: Boolean

Checks to see if the resource is busy, has some units allocated

Link copied to clipboard
abstract val isIdle: Boolean

Checks if the resource is idle, has no units allocated

Link copied to clipboard
abstract val isInactive: Boolean

Checks to see if the resource is inactive

Link copied to clipboard
abstract val numAvailableUnits: Int

If c(t) is the current capacity and b(t) is the current number busy, then a(t) = c(t) - b(t) is the current number of available units. Under some capacity change situations, a(t) may be negative.

Link copied to clipboard
abstract val numBusy: Int

The number of busy units at any time t, b(t)

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.

Link copied to clipboard

The number of times the resource was seized

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