| 程序包 | 说明 |
|---|---|
| com.byteplus.rec.core | |
| com.byteplus.rec.core.metrics |
| 限定符和类型 | 方法和说明 |
|---|---|
HTTPClient |
HTTPClient.Builder.build() |
Rsp |
Utils.Callable.call(Req req,
Option... opts) |
<Rsp> Rsp |
HTTPClient.doJSONRequest(String path,
Object request,
Rsp response,
Options options) |
protected <Rsp> Rsp |
HTTPCaller.doJSONRequest(String url,
Object request,
Rsp resp,
Options options) |
<Rsp extends com.google.protobuf.Message,Req extends com.google.protobuf.Message> |
HTTPClient.doPBRequest(String path,
Req request,
com.google.protobuf.Parser<Rsp> rspParser,
Options options) |
protected <Rsp extends com.google.protobuf.Message,Req extends com.google.protobuf.Message> |
HTTPCaller.doPBRequest(String url,
Req request,
com.google.protobuf.Parser<Rsp> rspParser,
Options options) |
static <Rsp extends com.google.protobuf.Message,Req> |
Utils.doWithRetry(Utils.Callable<Rsp,Req> callable,
Req req,
Option[] opts,
int retryTimes) |
protected void |
AbstractHostAvailabler.init(Duration fetchHostInterval,
Duration scoreHostInterval) |
HostAvailabler |
HostAvailablerFactory.newHostAvailabler(List<String> hosts) |
HostAvailabler |
HostAvailablerFactory.newHostAvailabler(String projectID,
List<String> hosts) |
void |
AbstractHostAvailabler.setHosts(List<String> hosts) |
| 构造器和说明 |
|---|
AbstractHostAvailabler(List<String> defaultHosts,
boolean initImmediately) |
AbstractHostAvailabler(String projectID,
List<String> defaultHosts,
boolean initImmediately) |
PingHostAvailabler(List<String> hosts) |
PingHostAvailabler(List<String> hosts,
PingHostAvailabler.Config config) |
PingHostAvailabler(String projectID,
List<String> hosts) |
PingHostAvailabler(String projectID,
List<String> hosts,
PingHostAvailabler.Config config) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
MetricsReporter.report(ByteplusRecSdkMetrics.MetricLogMessage metricLogMessage,
String url) |
protected void |
MetricsReporter.report(ByteplusRecSdkMetrics.MetricMessage metricMessage,
String url) |
Copyright © 2023. All rights reserved.