@Override protected void work() { for(int i=0; i<reqCnt; i++) { try { jredis.scard (key); } catch (RedisException e) { e.printStackTrace(); } } } };
@Override protected void work() { for(int i=0; i<reqCnt; i++) { try { jredis.lpop (key); } catch (RedisException e) { e.printStackTrace(); } } } };
@Override protected void work() { for(int i=0; i<reqCnt; i++) { try { jredis.rpop (key); } catch (RedisException e) { e.printStackTrace(); } } } };
@Override protected void prep() { for(int i=0; i<reqCnt; i++) { try { jredis.lpush (key, 1); } catch (RedisException e) { e.printStackTrace(); } } } @Override
@Override protected void prep() { for(int i=0; i<reqCnt; i++) { try { jredis.sadd (key, i); } catch (RedisException e) { e.printStackTrace(); } } } @Override
@Override protected void work() { for(int i=0; i<reqCnt; i++) { try { jredis.llen (key); } catch (RedisException e) { e.printStackTrace(); } } } };
@Override protected void work() { for(int i=0; i<reqCnt; i++){ try { jredis.set(key, data); } catch (RedisException e) { e.printStackTrace(); } } } };
@Override protected void work() { for(int i=0; i<reqCnt; i++){ try { jredis.ping(); } catch (RedisException e) { e.printStackTrace(); } } } };
@Override protected void work() { for(int i=0; i<reqCnt; i++) { try { jredis.incr (key); } catch (RedisException e) { e.printStackTrace(); } } } };
@Override protected void work() { for(int i=0; i<reqCnt; i++){ try { jredis.setnx (key, data); } catch (RedisException e) { e.printStackTrace(); } } } };
@Override protected void work() { try { for(int i=0; i<reqCnt; i++){ jredis.smembers(key); } } catch (RedisException e) { e.printStackTrace(); } } };
@Override protected void work() { for(int i=0; i<reqCnt; i++) { try { jredis.srem (key, i); } catch (RedisException e) { e.printStackTrace(); } } } };
@Override protected void work() { for(int i=0; i<reqCnt; i++) { try { jredis.rpush (key, i); } catch (RedisException e) { e.printStackTrace(); } } } };
@Override protected void work() { for(int i=0; i<reqCnt; i++) { try { jredis.incrby (key, 10); } catch (RedisException e) { e.printStackTrace(); } } } };
@Override protected void work() { for(int i=0; i<reqCnt; i++) { try { jredis.decr (key); } catch (RedisException e) { e.printStackTrace(); } } } };
@Override protected void work() { for(int i=0; i<reqCnt; i++) { try { jredis.decrby (key, 10); } catch (RedisException e) { e.printStackTrace(); } } } };
@Override protected void prep() { for(int i=0; i<reqCnt; i++) { try { jredis.lpush (key, 1); } catch (RedisException e) { e.printStackTrace(); } } } @Override
@Override protected void prep() { for(int i=0; i<reqCnt; i++) { try { jredis.sadd (key, i); } catch (RedisException e) { e.printStackTrace(); } } } @Override
@Override protected void prep() { for(int i=0; i<reqCnt; i++) { try { jredis.lpush (key, 1); } catch (RedisException e) { e.printStackTrace(); } } } @Override
@Override protected void work() { for(int i=0; i<reqCnt; i++) { try { jredis.lpush (key, i); } catch (RedisException e) { e.printStackTrace(); } } } };