public class JRedisClientBenchmark extends JRedisBenchmark
JRedisBenchmark.Benchmarker, JRedisBenchmark.BenchmarkWorkerpassword, 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, runBenchmarkspublic static void main(String[] args)
args - protected final JRedis newConnection(String host, int port, int db, String password) throws ClientRuntimeException
JRedisBenchmarknewConnection in class JRedisBenchmarkClientRuntimeExceptionprotected final Class<? extends JRedis> getImplementationClass()
getImplementationClass in class JRedisBenchmarkCopyright © 2009–2021. All rights reserved.