public void storePoll(Poll p){
Jedis jedis = jedisPool.getResource();
String pattern = getPollRedisPattern(p.getMeetingID());
HashMap<String,String> pollMap = p.toMap();
jedis.hmset(pattern + SEPARATOR + p.getPollID(), pollMap);
jedisPool.returnResource(jedis);
}
public void storePollAnswers(String meetingID, String pollID, Map<String,String> answers){
Jedis jedis = jedisPool.getResource();