Uses of Class
org.apache.hugegraph.computer.core.network.message.MessageType
-
-
Uses of MessageType in org.apache.hugegraph.computer.core.network
Methods in org.apache.hugegraph.computer.core.network with parameters of type MessageType Modifier and Type Method Description java.lang.StringMessageHandler. genOutputPath(MessageType messageType, int partition)Build a output path.voidMessageHandler. handle(MessageType messageType, int partition, NetworkBuffer buffer)Handle the buffer received.booleanTransportClient. send(MessageType messageType, int partition, java.nio.ByteBuffer buffer)Send the buffer to the server. -
Uses of MessageType in org.apache.hugegraph.computer.core.network.message
Methods in org.apache.hugegraph.computer.core.network.message that return MessageType Modifier and Type Method Description static MessageTypeMessageType. decode(io.netty.buffer.ByteBuf buf)MessageTypeAckMessage. type()MessageTypeDataMessage. type()MessageTypeFailMessage. type()Deprecated.MessageTypeFinishMessage. type()MessageTypeMessage. type()Used to identify this message type.MessageTypePingMessage. type()MessageTypePongMessage. type()MessageTypeStartMessage. type()static MessageTypeMessageType. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MessageType[]MessageType. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.hugegraph.computer.core.network.message with parameters of type MessageType Modifier and Type Method Description static DataMessageDataMessage. parseWithFileRegion(MessageType type, io.netty.buffer.ByteBuf buf)static DataMessageDataMessage. parseWithMemoryBuffer(MessageType type, io.netty.buffer.ByteBuf buf)Decoding uses the given ByteBuf as our data.Constructors in org.apache.hugegraph.computer.core.network.message with parameters of type MessageType Constructor Description DataMessage(MessageType type, int requestId, int partition, NetworkBuffer data) -
Uses of MessageType in org.apache.hugegraph.computer.core.network.netty
Methods in org.apache.hugegraph.computer.core.network.netty with parameters of type MessageType Modifier and Type Method Description booleanNettyTransportClient. send(MessageType messageType, int partition, java.nio.ByteBuffer buffer) -
Uses of MessageType in org.apache.hugegraph.computer.core.network.session
Methods in org.apache.hugegraph.computer.core.network.session with parameters of type MessageType Modifier and Type Method Description voidClientSession. sendAsync(MessageType messageType, int partition, java.nio.ByteBuffer buffer) -
Uses of MessageType in org.apache.hugegraph.computer.core.receiver
Methods in org.apache.hugegraph.computer.core.receiver with parameters of type MessageType Modifier and Type Method Description java.lang.StringMessageRecvManager. genOutputPath(MessageType messageType, int partition)voidMessageRecvManager. handle(MessageType messageType, int partition, NetworkBuffer buffer) -
Uses of MessageType in org.apache.hugegraph.computer.core.sender
Methods in org.apache.hugegraph.computer.core.sender that return MessageType Modifier and Type Method Description MessageTypeQueuedMessage. type()Methods in org.apache.hugegraph.computer.core.sender with parameters of type MessageType Modifier and Type Method Description voidMessageSendManager. finishSend(MessageType type)Finsih send message, send the last buffer and put an END signal into queuejava.util.concurrent.CompletableFuture<java.lang.Void>MessageSender. send(int workerId, MessageType type)Send control message, like START and FINISHjava.util.concurrent.CompletableFuture<java.lang.Void>QueuedMessageSender. send(int workerId, MessageType type)voidMessageSendManager. startSend(MessageType type)Start send message, put an START signal into queueConstructors in org.apache.hugegraph.computer.core.sender with parameters of type MessageType Constructor Description QueuedMessage(int partitionId, MessageType type, java.nio.ByteBuffer buffer) -
Uses of MessageType in org.apache.hugegraph.computer.core.sort.sorting
Methods in org.apache.hugegraph.computer.core.sort.sorting with parameters of type MessageType Modifier and Type Method Description java.util.concurrent.CompletableFuture<java.nio.ByteBuffer>SortManager. sort(MessageType type, WriteBuffers buffer)
-