Package dev.vality.damsel.fault_detector
Class FaultDetectorSrv.Client
java.lang.Object
org.apache.thrift.TServiceClient
dev.vality.damsel.fault_detector.FaultDetectorSrv.Client
- All Implemented Interfaces:
FaultDetectorSrv.Iface
- Enclosing class:
- FaultDetectorSrv
public static class FaultDetectorSrv.Client extends org.apache.thrift.TServiceClient implements FaultDetectorSrv.Iface
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFaultDetectorSrv.Client.Factory -
Field Summary
Fields inherited from class org.apache.thrift.TServiceClient
iprot_, oprot_, seqid_ -
Constructor Summary
-
Method Summary
Modifier and Type Method Description List<ServiceStatistics>getStatistics(List<String> services)Получение статистики по сервисамvoidinitService(String service_id, ServiceConfig service_config)Инициализация параметров сервисаList<ServiceStatistics>recvGetStatistics()voidrecvInitService()voidrecvRegisterOperation()voidregisterOperation(String service_id, Operation operation, ServiceConfig service_config)Регистрация операции сервиса *voidsendGetStatistics(List<String> services)voidsendInitService(String service_id, ServiceConfig service_config)voidsendRegisterOperation(String service_id, Operation operation, ServiceConfig service_config)Methods inherited from class org.apache.thrift.TServiceClient
getInputProtocol, getOutputProtocol, receiveBase, sendBase, sendBaseOneway
-
Constructor Details
-
Client
public Client(org.apache.thrift.protocol.TProtocol prot) -
Client
public Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot)
-
-
Method Details
-
initService
public void initService(String service_id, ServiceConfig service_config) throws org.apache.thrift.TExceptionDescription copied from interface:FaultDetectorSrv.IfaceИнициализация параметров сервиса- Specified by:
initServicein interfaceFaultDetectorSrv.Iface- Throws:
org.apache.thrift.TException
-
sendInitService
public void sendInitService(String service_id, ServiceConfig service_config) throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
recvInitService
public void recvInitService() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
getStatistics
public List<ServiceStatistics> getStatistics(List<String> services) throws org.apache.thrift.TExceptionDescription copied from interface:FaultDetectorSrv.IfaceПолучение статистики по сервисам- Specified by:
getStatisticsin interfaceFaultDetectorSrv.Iface- Throws:
org.apache.thrift.TException
-
sendGetStatistics
- Throws:
org.apache.thrift.TException
-
recvGetStatistics
- Throws:
org.apache.thrift.TException
-
registerOperation
public void registerOperation(String service_id, Operation operation, ServiceConfig service_config) throws ServiceNotFoundException, org.apache.thrift.TExceptionDescription copied from interface:FaultDetectorSrv.IfaceРегистрация операции сервиса *- Specified by:
registerOperationin interfaceFaultDetectorSrv.Iface- Throws:
ServiceNotFoundExceptionorg.apache.thrift.TException
-
sendRegisterOperation
public void sendRegisterOperation(String service_id, Operation operation, ServiceConfig service_config) throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
recvRegisterOperation
- Throws:
ServiceNotFoundExceptionorg.apache.thrift.TException
-