Class NettyClient
- java.lang.Object
-
- com.alibaba.graphscope.parallel.netty.NettyClient
-
public class NettyClient extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static intMAX_CONNECTION_MILLISECONDS_DEFAULT30 seconds to connect by default
-
Constructor Summary
Constructors Constructor Description NettyClient(ImmutableClassesGiraphConfiguration conf, NetworkMap networkMap, Thread.UncaughtExceptionHandler exceptionHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidconnectToAllAddress()Put connectToAllAddress out size of Constructor.voidpostSuperStep()voidsendMessage(int dstFragId, WritableRequest request)StringtoString()voidwaitAllRequests()
-
-
-
Field Detail
-
MAX_CONNECTION_MILLISECONDS_DEFAULT
public static final int MAX_CONNECTION_MILLISECONDS_DEFAULT
30 seconds to connect by default- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NettyClient
public NettyClient(ImmutableClassesGiraphConfiguration conf, NetworkMap networkMap, Thread.UncaughtExceptionHandler exceptionHandler)
-
-
Method Detail
-
connectToAllAddress
public void connectToAllAddress()
Put connectToAllAddress out size of Constructor.
-
sendMessage
public void sendMessage(int dstFragId, WritableRequest request)
-
postSuperStep
public void postSuperStep()
-
waitAllRequests
public void waitAllRequests()
-
close
public void close()
-
-