OSID Logo
OSID Specifications
provisioning rules package
Version 3.1.0
Interfaceosid.provisioning.rules.QueueConstrainer
Implementsosid.OsidConstrainer
Used Byosid.provisioning.rules.QueueConstrainerAdminSession
osid.provisioning.rules.QueueConstrainerList
osid.provisioning.rules.QueueConstrainerLookupSession
Description

A QueueConstrainer manages the constraints of a Queue.

MethodhasSizeLimit
Description

Tests if this queue limits the number of requests.

Returnboolean true if a queue size limit is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetSizeLimit
Description

Gets the size limit of the queue.

Returncardinal the size limit
ErrorsILLEGAL_STATE hasSizeLimit() is false
Compliancemandatory This method must be implemented.
MethodrequiresProvisions
Description

Tests if a provision must exist before entering this queue.

Returnboolean true if a provision is required, false otherwise
Compliancemandatory This method must be implemented.
MethodgetRequiredProvisionPoolIds
Description

Gets the pool Ids for the required provisions.

Returnosid.id.IdList the Ids of the pools
ErrorsILLEGAL_STATE requiresProvisions() is false
Compliancemandatory This method must be implemented.
MethodgetRequiredProvisionPools
Description

Gets the pools for the required provisions.

Returnosid.provisioning.PoolList the pools
ErrorsILLEGAL_STATE requiresProvisions() is false
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetQueueConstrainerRecord
Description

Gets the queue constrainer record corresponding to the given QueueConstrainer record Type. This method ie used to retrieve an object implementing the requested record. The queueConstrainerRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(queueConstrainerRecordType) is true.

Parametersosid.type.TypequeueConstrainerRecordType the type of queue constrainer record to retrieve
Returnosid.provisioning.rules.records.QueueConstrainerRecord the queue constrainer record
ErrorsNULL_ARGUMENT queueConstrainerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(queueConstrainerRecordType) is false
Compliancemandatory This method must be implemented.