com.github.lontime.extredisson.rpc.impl.RecheckAlwaysSuccess Maven / Gradle / Ivy
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();
}
}