public class JRedisClientBenchmark extends JRedisBenchmark
JRedisBenchmark.Benchmarker, JRedisBenchmark.BenchmarkWorkerpassword, quitOnRunEnd| Constructor and Description |
|---|
JRedisClientBenchmark() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Class<? extends JRedis> |
getImplementationClass() |
static void |
main(java.lang.String[] args)
Runs the benchmark tests.
|
protected JRedis |
newConnection(java.lang.String host,
int port,
int db,
java.lang.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(java.lang.String[] args)
args - protected final JRedis newConnection(java.lang.String host, int port, int db, java.lang.String password) throws ClientRuntimeException
JRedisBenchmarknewConnection in class JRedisBenchmarkClientRuntimeExceptionprotected final java.lang.Class<? extends JRedis> getImplementationClass()
getImplementationClass in class JRedisBenchmark