Package dev.vality.damsel.fault_detector
Class FaultDetectorSrv.AsyncClient
java.lang.Object
org.apache.thrift.async.TAsyncClient
dev.vality.damsel.fault_detector.FaultDetectorSrv.AsyncClient
- All Implemented Interfaces:
FaultDetectorSrv.AsyncIface
- Enclosing class:
- FaultDetectorSrv
public static class FaultDetectorSrv.AsyncClient extends org.apache.thrift.async.TAsyncClient implements FaultDetectorSrv.AsyncIface
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFaultDetectorSrv.AsyncClient.Factorystatic classFaultDetectorSrv.AsyncClient.GetStatistics_callstatic classFaultDetectorSrv.AsyncClient.InitService_callstatic classFaultDetectorSrv.AsyncClient.RegisterOperation_call -
Field Summary
Fields inherited from class org.apache.thrift.async.TAsyncClient
___currentMethod, ___manager, ___protocolFactory, ___transport -
Constructor Summary
Constructors Constructor Description AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport) -
Method Summary
Modifier and Type Method Description voidgetStatistics(List<String> services, org.apache.thrift.async.AsyncMethodCallback<List<ServiceStatistics>> resultHandler)voidinitService(String service_id, ServiceConfig service_config, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidregisterOperation(String service_id, Operation operation, ServiceConfig service_config, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)Methods inherited from class org.apache.thrift.async.TAsyncClient
checkReady, getError, getProtocolFactory, getTimeout, hasError, hasTimeout, onComplete, onError, setTimeout
-
Constructor Details
-
AsyncClient
public AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport)
-
-
Method Details
-
initService
public void initService(String service_id, ServiceConfig service_config, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Specified by:
initServicein interfaceFaultDetectorSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getStatistics
public void getStatistics(List<String> services, org.apache.thrift.async.AsyncMethodCallback<List<ServiceStatistics>> resultHandler) throws org.apache.thrift.TException- Specified by:
getStatisticsin interfaceFaultDetectorSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
registerOperation
public void registerOperation(String service_id, Operation operation, ServiceConfig service_config, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Specified by:
registerOperationin interfaceFaultDetectorSrv.AsyncIface- Throws:
org.apache.thrift.TException
-