本文整理汇总了Java中com.yammer.tenacity.client.TenacityClient类的典型用法代码示例。如果您正苦于以下问题:Java TenacityClient类的具体用法?Java TenacityClient怎么用?Java TenacityClient使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
TenacityClient类属于com.yammer.tenacity.client包,在下文中一共展示了TenacityClient类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: TenacityConfigurationFetcher
import com.yammer.tenacity.client.TenacityClient; //导入依赖的package包/类
public TenacityConfigurationFetcher(TenacityClient client,
URI uri,
TenacityPropertyKey key) {
super(BreakerboxDependencyKey.BRKRBX_SERVICES_CONFIGURATION);
this.client = checkNotNull(client);
this.key = new Key(checkNotNull(uri), checkNotNull(key));
}
示例2: Factory
import com.yammer.tenacity.client.TenacityClient; //导入依赖的package包/类
public Factory(TenacityClient client) {
this.client = client;
}
示例3: Factory
import com.yammer.tenacity.client.TenacityClient; //导入依赖的package包/类
public Factory(TenacityClient tenacityClient) {
this.tenacityClient = tenacityClient;
}
示例4: TenacityPoller
import com.yammer.tenacity.client.TenacityClient; //导入依赖的package包/类
public TenacityPoller(TenacityClient tenacityClient,
URI uri) {
super(BreakerboxDependencyKey.BRKRBX_SERVICES_PROPERTYKEYS);
this.tenacityClient = tenacityClient;
this.uri = uri;
}
示例5: DelegatingTenacityClient
import com.yammer.tenacity.client.TenacityClient; //导入依赖的package包/类
public DelegatingTenacityClient(TenacityClient client) {
this.client = client;
}