Class ShardedJedisPipeline

    • Constructor Detail

      • ShardedJedisPipeline

        public ShardedJedisPipeline()
    • Method Detail

      • sync

        public void sync()
        Synchronize pipeline by reading all responses. This operation closes the pipeline. In order to get return values from pipelined commands, capture the different Response<?> of the commands you execute.
      • syncAndReturnAll

        public List<Object> syncAndReturnAll()
        Synchronize pipeline by reading all responses. This operation closes the pipeline. Whenever possible try to avoid using this version and use ShardedJedisPipeline.sync() as it won't go through all the responses and generate the right response type (usually it is a waste of time).
        Returns:
        A list of all the responses in the order you executed them.