All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.kould.function.SyncCommandCallback Maven / Gradle / Ivy

package com.kould.function;

import io.lettuce.core.api.sync.RedisCommands;

@FunctionalInterface
public interface SyncCommandCallback {
    /**
     * Redis操作函数
     * @param commands redis同步命令客户端
     * @return 返回
     * @throws Exception 操作时潜在的错误
     */
    T doInConnection(RedisCommands commands) throws Exception;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy