Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.intel.cosbench.driver.util
Class OperationPicker

    java.lang.Object
      com.intel.cosbench.driver.util.OperationPicker

    public class OperationPicker

extends java.lang.Object

This class encapsulates logic to pick up operations.

Author:
  ywang19

Constructor Summary
`OperationPicker()`

Method Summary
`void` | `addOperation(java.lang.String op, int ratio)`
`java.lang.String` | `pickOperation(java.util.Random random)`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### OperationPicker

    public OperationPicker()

Method Detail

### addOperation

    public void addOperation(java.lang.String op,
                             int ratio)

### pickOperation

    public java.lang.String pickOperation(java.util.Random random)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD