public Object run() throws RequestException {
Object key = keyGenerator.generateKey(keySelector.next());
Random random = stressor.getRandom();
Operation operation = operationSelector.next(random);
Invocation invocation;
if (operation == BasicOperations.GET) {
invocation = new Invocations.Get(cache, key);
return stressor.makeRequest(invocation);
} else if (operation == BasicOperations.PUT) {
invocation = new Invocations.Put(cache, key, valueGenerator.generateValue(key, entrySize.next(random), random));