final String chid = channel.getChannelId();
if (jedis.sismember(uaidLookupKey(uaid), chid)) {
return false;
}
final String endpointToken = channel.getEndpointToken();
final Transaction tx = jedis.multi();
tx.set(endpointToken, Long.toString(channel.getVersion()));
tx.set(tokenLookupKey(endpointToken), chid);
tx.hmset(chidLookupKey(chid), mapOf(endpointToken, uaid));
tx.sadd(uaidLookupKey(uaid), chid);
tx.exec();