Activities for modifying a resource's server capacity or queue size, by name or a previously selected one.

set_capacity(.trj, resource, value)

set_capacity_selected(.trj, value, id = 0)

set_queue_size(.trj, resource, value)

set_queue_size_selected(.trj, value, id = 0)

Arguments

.trj

the trajectory object.

resource

the name of the resource.

value

new value to set.

id

selection identifier for nested usage.

Value

Returns the trajectory object.

See also

select, seize, release, seize_selected, release_selected, get_capacity, get_queue_size.