| 类 | 说明 |
|---|---|
| IFaceLogThriftClient |
基于thrift/swift框架生成的client端代码提供
IFaceLog接口的RPC实现(线程安全)转发所有 IFaceLog接口方法到IFaceLogClient实例所有服务端抛出的 RuntimeException异常被封装到ServiceRuntimeException中抛出Example: IFaceLogThriftClient thriftInstance = ClientFactory .builder() .setHostAndPort("127.0.0.1",26413) .build(IFaceLogThriftClient.class); 计算机生成代码(generated by automated tools ThriftServiceDecoratorGenerator @author guyadong) |
| IFaceLogThriftClientAsync |
基于thrift/swift框架生成的client端代码提供
IFaceLog接口的异步RPC实现(线程安全)转发所有 IFaceLog接口方法到IFaceLogClient实例所有服务端抛出的 RuntimeException异常被封装到ServiceRuntimeException中抛出Example: IFaceLogThriftClientAsync thriftInstance = ClientFactory .builder() .setHostAndPort("127.0.0.1",26413) .build(IFaceLogThriftClientAsync.class); 计算机生成代码(generated by automated tools ThriftServiceDecoratorGenerator @author guyadong) |
| IFaceLogThriftClientAsync.DefaultCallback<V> |
默认的
FutureCallback实现 |
| 异常错误 | 说明 |
|---|---|
| ServiceRuntimeException |
服务端抛出的 runtime 异常
|
Copyright © 2020. All Rights Reserved.