Package org.gridgain.grid.kernal.processors.cache.distributed.dht

Examples of org.gridgain.grid.kernal.processors.cache.distributed.dht.GridDhtPartitionState


        boolean changed = false;

        UUID locId = cctx.nodeId();

        for (GridDhtLocalPartition<K, V> part : locParts.values()) {
            GridDhtPartitionState state = part.state();

            if (state.active()) {
                int p = part.id();

                List<GridNode> affNodes = cctx.affinity().nodes(p, topVer);

                if (!affNodes.contains(cctx.localNode())) {
View Full Code Here


        GridDhtPartitionMap parts = node2part.get(nodeId);

        // Set can be null if node has been removed.
        if (parts != null) {
            GridDhtPartitionState state = parts.get(p);

            if (state == match)
                return true;

            if (matches != null && matches.length > 0)
View Full Code Here

TOP

Related Classes of org.gridgain.grid.kernal.processors.cache.distributed.dht.GridDhtPartitionState

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.