Package org.graphlab.net.netty.messages

Examples of org.graphlab.net.netty.messages.FinishedPhaseMessage


                        }
                        master.remoteRegisterSlave(nodeInfo);
                        System.out.println("Nodes now: " + nodes);
                        break;
                    case MessageIds.FINISHED_PHASE:
                        FinishedPhaseMessage finishedPhaseMessage = (FinishedPhaseMessage) message;
                        int nodeId = channelIdToNodeId.get(e.getChannel().getId()); // Can we store it in the context?
                        master.remoteFinishedPhase(nodeId, finishedPhaseMessage.getPhase());
                        break;
                    case MessageIds.TOPRESULTS:
                        System.out.println("Receive top results...");
                        IndexedValueArray iv = (IndexedValueArray) message;
                        master.remoteReceiveTopResults(iv.getIndices(), iv.getValues());
View Full Code Here

TOP

Related Classes of org.graphlab.net.netty.messages.FinishedPhaseMessage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.