-
Notifications
You must be signed in to change notification settings - Fork 9
Scenario operations reference
Aurelien edited this page Feb 6, 2018
·
2 revisions
operations are part of a Scenario, e.g.
scenario("Test phase")
.exec(
weighted(0.90, Ehcache3Operations.get(keyGenerator, valueGenerator, atRandom(GAUSSIAN, 0, 10000, 1000), singletonList(cache("one", one)),
weighted(0.10, Ehcache3Operations.put(keyGenerator, valueGenerator, atRandom(GAUSSIAN, 0, 10000, 1000), singletonList(cache("one", one))))
))
Here is the list of operations:
put() : Ehcache.put(key , value)
get()
remove()
putAll()
getAll()
removeAll()
putIfAbsent()
replace()
replaceForKeyAndValue()
removeForKeyAndValue()