public class PSRpcFactory extends Object
| Constructor and Description | 
|---|
| PSRpcFactory() | 
| Modifier and Type | Method and Description | 
|---|---|
| static org.apache.spark.network.server.TransportServer | createServer(org.apache.spark.SparkConf conf,
            LocalParamServer ps,
            String host)Create and start the server | 
| static SparkPSProxy | createSparkPSProxy(org.apache.spark.SparkConf conf,
                  int port,
                  org.apache.spark.util.LongAccumulator aRPC) | 
public static org.apache.spark.network.server.TransportServer createServer(org.apache.spark.SparkConf conf,
                                                                           LocalParamServer ps,
                                                                           String host)
conf - spark configps - LocalParamServer objecthost - hostnamepublic static SparkPSProxy createSparkPSProxy(org.apache.spark.SparkConf conf, int port, org.apache.spark.util.LongAccumulator aRPC) throws IOException
IOExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.