Skip to content
Snippets Groups Projects
Commit d04d9325 authored by Chris Larsen's avatar Chris Larsen
Browse files

[core] Add an operation enum to the Workload class. This can eventually

be used to replace the strings.
parent e4aecc1b
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,15 @@ public abstract class Workload {
private volatile AtomicBoolean stopRequested = new AtomicBoolean(false);
/** Operations available for a database. */
public enum Operation {
READ,
UPDATE,
INSERT,
SCAN,
DELETE
}
/**
* Initialize the scenario. Create any generators and other shared objects here.
* Called once, in the main client thread, before any operations are started.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment