use of com.tencent.polaris.plugins.connector.grpc.GrpcServiceUpdateTask in project polaris-java by polarismesh.
the class CompositeServiceUpdateTask method execute.
@Override
protected void execute() {
CompositeConnector connector = (CompositeConnector) serverConnector;
for (DestroyableServerConnector sc : connector.getServerConnectors()) {
if (DefaultPlugins.SERVER_CONNECTOR_GRPC.equals(sc.getName())) {
GrpcServiceUpdateTask grpcServiceUpdateTask = new GrpcServiceUpdateTask(serviceEventHandler, sc);
grpcServiceUpdateTask.execute(this);
}
}
}
Aggregations