Examples of GridIoPolicy


Examples of org.gridgain.grid.kernal.managers.communication.GridIoPolicy

            }

            // If message is P2P, then process in P2P service.
            // This is done to avoid extra waiting and potential deadlocks
            // as thread pool may not have any available threads to give.
            GridIoPolicy plc = msg.policy();

            switch (plc) {
                case P2P_POOL: {
                    processP2PMessage(node, msg, msgC);
View Full Code Here

Examples of org.gridgain.grid.kernal.managers.communication.GridIoPolicy

    /**
     * @param msg Message bytes.
     * @return Policy.
     */
    private GridIoPolicy policy(byte[] msg) {
        GridIoPolicy plc = GridIoPolicy.fromOrdinal(msg[0]);

        if (plc == null)
            throw new IllegalStateException("Failed to parse message policy: " + Arrays.toString(msg));

        return plc;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.