OSID Logo
OSID Specifications
provisioning rules package
Version 3.0.0
Interfaceosid.provisioning.rules.PoolProcessor
Implementsosid.OsidProcessor
Used Byosid.provisioning.rules.PoolProcessorAdminSession
osid.provisioning.rules.PoolProcessorList
osid.provisioning.rules.PoolProcessorLookupSession
Description

A PoolProcessor describes the rules for managing resource allocations out of a pool.

MethodallocatesByLeastUse
Description

Tests if allocations balance the usage by preferring the least used provisionables in the pool.

Returnbooleantrue if the least used provisionables are preferred, false otherwise
CompliancemandatoryThis method must be implemented.
MethodallocatesByMostUse
Description

Tests if allocations prefer the most used provisionables in the pool.

Returnbooleantrue if the most used provisionables are preferred, false otherwise
CompliancemandatoryThis method must be implemented.
MethodallocatesByLeastCost
Description

Tests if allocations prefer the cheapest provisionables.

Returnbooleantrue if the cheapest provisionables are preferred, false otherwise
CompliancemandatoryThis method must be implemented.
MethodallocatesByMostCost
Description

Tests if allocations prefer the most expensive provisionables.

Returnbooleantrue if the most expensive provisionables are prefsrred, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetPoolProcessorRecord
Description

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

Parametersosid.type.TypepoolProcessorRecordTypethe type of pool processor record to retrieve
Returnosid.provisioning.rules.records.PoolProcessorRecordthe pool processor record
ErrorsNULL_ARGUMENTpoolProcessorRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(poolProcessorRecordType) is false
CompliancemandatoryThis method must be implemented.