OSID Logo
OSID Specifications
provisioning package
Version 3.0.0
Interfaceosid.provisioning.Queue
Implementsosid.OsidGovernator
osid.Subjugateable
Used Byosid.provisioning.ExchangeSession
osid.provisioning.QueueAdminSession
osid.provisioning.QueueList
osid.provisioning.QueueLookupSession
osid.provisioning.Request
Description

A Queue is a list of resources in line for a provision. The rule indicates how requests are processed in this queue.

MethodgetBrokerId
Description

Gets the broker Id .

Returnosid.id.Idthe broker Id
CompliancemandatoryThis method must be implemented.
MethodgetBroker
Description

Gets the broker.

Returnosid.provisioning.Brokerthe broker
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetManagerIds
Description

Gets the Ids of the managers.

Returnosid.id.IdListthe manager Ids
CompliancemandatoryThis method must be implemented.
MethodgetManagers
Description

Gets the managers.

Returnosid.resource.ResourceListthe managers
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodhasSize
Description

Tests if a queue size is available.

Returnbooleantrue if a queue size is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetSize
Description

Gets the size of the queue.

Returncardinalthe size
ErrorsILLEGAL_STATEhasSize() is false
CompliancemandatoryThis method must be implemented.
MethodhasEWA
Description

Tests if an estimated waiting time is available for this queue.

Returnbooleantrue if an ewa is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetEWA
Description

Gets the estimated waiting time for new requests in this queue.

Returnosid.calendaring.Durationthe ewa
ErrorsILLEGAL_STATEhasEWA() is false
CompliancemandatoryThis method must be implemented.
MethodcanSpecifyProvisionable
Description

Tests if this queue allows a specific provisionable to be requested.

Returnbooleantrue if provisionables can be specified, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetQueueRecord
Description

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

Parametersosid.type.TypequeueRecordTypethe type of queue record to retrieve
Returnosid.provisioning.records.QueueRecordthe queue record
ErrorsNULL_ARGUMENTqueueRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(queueRecordType) is false
CompliancemandatoryThis method must be implemented.