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

com.github.lontime.extredisson.rpc.impl.RecheckAlwaysSuccess Maven / Gradle / Ivy

There is a newer version: 1.4.0
Show newest version
package com.github.lontime.extredisson.rpc.impl;

import java.util.function.BiFunction;

import com.github.lontime.base.commonj.result.ProcessResult;
import com.github.lontime.base.serial.mq.Message;
import com.github.lontime.extredisson.rpc.common.CallbackContext;

/**
 * RecheckAlwaysSuccess.
 * @author lontime
 * @since 1.0
 */
public class RecheckAlwaysSuccess implements BiFunction {

    public static RecheckAlwaysSuccess DEFAULT = new RecheckAlwaysSuccess();

    @Override
    public ProcessResult apply(CallbackContext context, Message message) {
        return ProcessResult.createSuccess();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy