public interface OperationMix
Modifier and Type | Method and Description |
---|---|
Operation |
getOperation(int id)
Gets the operation with the specified ID
|
Iterator<Operation> |
getOperations()
Gets the operations in this mix
|
OperationMixStats |
getStats()
Gets the statistics for the operation mix
|
int |
size()
Gets the number of operations in the operation mix
|
Iterator<Operation> getOperations()
Operation getOperation(int id)
Generally it should be assumed that operation IDs are allocated using a
zero based index so 0 would obtain the first operation in the mix while
size()-1
would obtain the last operation in the mix. All the
built-in implementations of this interface follow this rule.
id
- IDIllegalArgumentException
- Thrown if the ID is not validint size()
OperationMixStats getStats()
Copyright © 2015. All rights reserved.