Promise poll = queue.poll();
poll.setException(e.getCause());
}
}
};
final RedisEncoder encoder = new RedisEncoder();
final RedisDecoder decoder = new RedisDecoder();
cb.setPipelineFactory(new ChannelPipelineFactory() {
@Override
public ChannelPipeline getPipeline() throws Exception {
ChannelPipeline pipeline = Channels.pipeline();