List of usage examples for org.springframework.data.redis.connection RedisConnection openPipeline
void openPipeline();
From source file:org.springframework.integration.redis.outbound.RedisCollectionPopulatingMessageHandler.java
private void processInPipeline(PipelineCallback callback) { RedisConnection connection = RedisConnectionUtils.bindConnection(redisTemplate.getConnectionFactory()); try {//from w w w.j a va 2 s . c o m connection.openPipeline(); callback.process(); } finally { connection.closePipeline(); RedisConnectionUtils.unbindConnection(redisTemplate.getConnectionFactory()); } }