Class WorkerRpcManager

  • All Implemented Interfaces:
    Manager

    public class WorkerRpcManager
    extends java.lang.Object
    implements Manager
    • Constructor Detail

      • WorkerRpcManager

        public WorkerRpcManager()
    • Method Detail

      • name

        public java.lang.String name()
        Description copied from interface: Manager
        The unique identify name.
        Specified by:
        name in interface Manager
      • init

        public void init​(org.apache.hugegraph.computer.core.config.Config config)
        Description copied from interface: Manager
        Used to add the resources needed by the computation. Be called only one time before all supersteps start.
        Specified by:
        init in interface Manager
      • close

        public void close​(org.apache.hugegraph.computer.core.config.Config config)
        Description copied from interface: Manager
        Close the resources used in the computation. Be called only one time after all supersteps ended.
        Specified by:
        close in interface Manager
      • updateRpcRemoteServerConfig

        public static void updateRpcRemoteServerConfig​(org.apache.hugegraph.computer.core.config.Config config,
                                                       java.lang.String host,
                                                       int port)