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

com.alogic.remote.attempt.Failfast Maven / Gradle / Ivy

There is a newer version: 1.6.16
Show newest version
package com.alogic.remote.attempt;

import com.alogic.remote.Attempt;
import com.alogic.remote.backend.Backend;
import com.alogic.remote.route.Route;
import com.anysoft.loadbalance.LoadBalance;
import com.anysoft.util.Properties;

/**
 * Failfast
 * @author yyduan
 * @since 1.6.8.12
 */
public class Failfast extends Attempt.Abstract{
	
	@Override
	public Backend retry(Route route,LoadBalance lb,String app, String key, Properties p, long tryTimes) {
		//不再重试
		return null;
	}

	@Override
	public void configure(Properties p) {

	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy