mirror of https://github.com/ZhongFuCheng3y/austin
parent
20e5bf4823
commit
d32911f156
@ -0,0 +1,23 @@
|
|||||||
|
package com.java3y.austin.stream.callback;
|
||||||
|
|
||||||
|
import io.lettuce.core.RedisFuture;
|
||||||
|
import io.lettuce.core.api.async.RedisAsyncCommands;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* redis pipeline接口定义
|
||||||
|
*
|
||||||
|
* @author 3y
|
||||||
|
*/
|
||||||
|
public interface RedisPipelineCallBack {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 具体执行逻辑
|
||||||
|
*
|
||||||
|
* @param redisAsyncCommands
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
List<RedisFuture<?>> invoke(RedisAsyncCommands redisAsyncCommands);
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in new issue