public class JRedisClientBenchmark extends JRedisBenchmark
JRedisBenchmark.Benchmarker, JRedisBenchmark.BenchmarkWorker
password, quitOnRunEnd
Constructor and Description |
---|
JRedisClientBenchmark() |
Modifier and Type | Method and Description |
---|---|
protected Class<? extends JRedis> |
getImplementationClass() |
static void |
main(String[] args)
Runs the benchmark tests.
|
protected JRedis |
newConnection(String host,
int port,
int db,
String password)
Define this method to test a specific JRedis implementation.
|
newDbsizeWorker, newDecrbyWorker, newDecrWorker, newGetWorker, newIncrbyWorker, newIncrWorker, newLLenWorker, newLPopWorker, newLPushWorker, newPingWorker, newRPopWorker, newRPushWorker, newSaddWorker, newScardWorker, newSetnxWorker, newSetWorker, newSmembersWorker, newSremWorker, quitOnRunEnd, runBenchmarks
public static void main(String[] args)
args
- protected final JRedis newConnection(String host, int port, int db, String password) throws ClientRuntimeException
JRedisBenchmark
newConnection
in class JRedisBenchmark
ClientRuntimeException
protected final Class<? extends JRedis> getImplementationClass()
getImplementationClass
in class JRedisBenchmark
Copyright © 2009–2016. All rights reserved.