OSID Logo
OSID Specifications
provisioning package
Version 3.1.0
Interfaceosid.provisioning.Pool
Implementsosid.OsidGovernator
osid.Subjugateable
Used Byosid.provisioning.PoolAdminSession
osid.provisioning.PoolList
osid.provisioning.PoolLookupSession
osid.provisioning.Provisionable
osid.provisioning.Request
Description

A Pool represents a set of Resources to be provisioned. The rule indicates how resources are provisioned.

MethodgetBrokerId
Description

Gets the broker Id.

Returnosid.id.Id the broker Id
Compliancemandatory This method must be implemented.
MethodgetBroker
Description

Gets the broker.

Returnosid.provisioning.Broker the broker
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetSupplierIds
Description

Gets the Ids of the suppliers.

Returnosid.id.IdList the supplier Ids
Compliancemandatory This method must be implemented.
MethodgetSuppliers
Description

Gets the suppliers.

Returnosid.resource.ResourceList the suppliers
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodhasSize
Description

Tests if a pool size is available.

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

Gets the size of the pool.

Returncardinal the size
ErrorsILLEGAL_STATE hasSize() is false
Compliancemandatory This method must be implemented.
MethodgetPoolRecord
Description

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

Parametersosid.type.TypepoolRecordType the type of pool record to retrieve
Returnosid.provisioning.records.PoolRecord the pool record
ErrorsNULL_ARGUMENT poolRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(poolRecordType) is false
Compliancemandatory This method must be implemented.