public interface PoolProcessor extends OsidProcessor
A PoolProcessor
describes the rules for managing
resource allocations out of a pool.
Modifier and Type | Method and Description |
---|---|
boolean |
allocatesByLeastCost()
Tests if allocations prefer the cheapest provisionables.
|
boolean |
allocatesByLeastUse()
Tests if allocations balance the usage by preferring the least used
provisionables in the pool.
|
boolean |
allocatesByMostCost()
Tests if allocations prefer the most expensive provisionables.
|
boolean |
allocatesByMostUse()
Tests if allocations prefer the most used provisionables in the pool.
|
PoolProcessorRecord |
getPoolProcessorRecord(Type poolProcessorRecordType)
Gets the pool processor record corresponding to the given
PoolProcessor record Type. |
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
isActive, isDisabled, isEnabled, isOperational
boolean allocatesByLeastUse()
true
if the least used provisionables are
preferred, false
otherwisemandatory
- This method must be implemented. boolean allocatesByMostUse()
true
if the most used provisionables are
preferred, false
otherwisemandatory
- This method must be implemented. boolean allocatesByLeastCost()
true
if the cheapest provisionables are
preferred, false
otherwisemandatory
- This method must be implemented. boolean allocatesByMostCost()
true
if the most expensive provisionables are
prefsrred, false
otherwisemandatory
- This method must be implemented. PoolProcessorRecord getPoolProcessorRecord(Type poolProcessorRecordType) throws OperationFailedException
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
.poolProcessorRecordType
- the type of pool processor record to
retrieveNullArgumentException
- poolProcessorRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(poolProcessorRecordType)
is false
mandatory
- This method must be implemented.