reliable = Boolean.parseBoolean(System.getProperty("reliable",
String.valueOf(AdvancedJobConsumer.DEFAULT_RELIABLE)));
batchSize = Integer.parseInt(System.getProperty("batchsize",
String.valueOf(AdvancedJobConsumer.DEFAULT_BATCH_SIZE)));
pool = new JedisPoolBuilder().setDirectHostAndPort("localhost", "6379").setPoolSize(threadCount).buildPool();
ExecutorService threadPool = Executors.newFixedThreadPool(threadCount);
for (int i = 0; i < threadCount; i++) {
AdvancedJobConsumerBatchPopDemo demo = new AdvancedJobConsumerBatchPopDemo();
threadPool.execute(demo);